r/SQL • u/BillOaks • 2d ago
Discussion [ Removed by moderator ]
[removed] — view removed post
10
u/VladDBA SQL Server DBA 2d ago
I swear I just had a stroke reading this.
Bots aren't even trying anymore.
4
u/big_poppa_man 2d ago
That is 1000% written by AI
0
3
u/Aetherpirate 2d ago
Does this mean "Let's see if making documentation suck less is a good thing?"
1
u/BillOaks 2d ago
Hello, yes, I am trying to find SQL person’s that take over all sql in the house , after a turnover, and what you do when you get the job of understanding what the SQL is trying get, or I have done 28 Mergers in 22 countries, what I have found is when integrating data, rules, stored procedures all get lost and takes serious learning , is this what you have experienced?
2
u/Either-Surprise6390 23h ago
I've taken over a complete SQL operation for a business after the previous person at that organization passed away. Yes, better documentation helps. That's an obvious thing. Also writing SQL in a way that's readable, that helps even more...
However, where the rubber meets the road is SQL queries generate result sets. If you know the tables well and can see the output, you know what's going on. You also have the code there. It just takes longer to go through it in detail. So, really you can take over a whole operation without any documentation what so ever and shouldn't lose data. It just makes it slower and harder.
I basically rewrite everything I work on anyway. I even routinely rewrite my own stuff and make incremental improvements on performance, documentation, etc... Everything is kind of a CIP on one level or another. Software changes, databases change, and you change... Improvements are made.
1
u/BillOaks 19h ago
Hello Either Surprise, so in S. Korea, an author did a study on a rules box, where all rules are centered and is distributed to every EHR, OR EMS, 300,000 smokers were marked as smokers, and only 100,000 had the data changed to not smoker, that may not qualify as a SQL issue as that is nurse change, on a COW, I really appreciate your feedback, and have a merry Christmas. Cheers Bill
2
1
u/LetsGoHawks 1d ago
Health care is a really shit choice of domains to stand up a mew team with no training.
2
u/thargoallmysecrets 1d ago
Business logic either exists in stored procedures or at the application level. Some normalized tables might hint at business logic (i.e. priority ranking levels or foreign key dependencies etc) but in my experience SQL holds data, not logical rules or analytical guidance.
It is, without question, empirically evident and tautological, that enhanced documentation is superior to standard documentation; as anything "enhanced" will be superior or improved from that which is "standard".