r/SQL • • 10h ago

Discussion During a turnover, you take over all SQL within the organization, business rules are missing, how do you attempt to run all SQL. Is data lost ?

The proposed quantitative experimental study will examine whether providing healthcare data analysts with documented business rules and analytical rationale improves the accuracy of healthcare reports when they assume responsibility for another analyst’s work. Harrold (2026) recommended controlled user experiments to evaluate analytical errors, recovery, rework, and continuity of healthcare analytics. The proposed quantitative experimental study will address one component of this recommendation by comparing the accuracy of analysts receiving standard documentation with those receiving enhanced documentation. The intended contribution is to provide healthcare administrators with empirical evidence concerning documentation practices that may improve the accuracy of healthcare reporting.

0 Upvotes

11 comments sorted by

2

u/thargoallmysecrets 6h 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".  

1

u/BillOaks 4h ago

Hello thargoalmysecrets, thank you for answering and giving sincere feedback, Mergers always present issues, the data changes but the field name stays the same, instead of words the field now has numeric ratios, the sql runs and the report looks different , how easy to fix, let’s say you own 1,000 sql statements with no docs on what is does. What I am trying to examine is data gets lost due to SQL. .?

9

u/VladDBA SQL Server DBA 10h ago

I swear I just had a stroke reading this.

Bots aren't even trying anymore.

4

u/big_poppa_man 10h ago

That is 1000% written by AI

0

u/BillOaks 8h ago

The topic though do you experience this at work?

2

u/Aetherpirate 10h ago

Does this mean "Let's see if making documentation suck less is a good thing?"

1

u/BillOaks 8h 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?

11

u/Thlvg 10h ago

I'm sorry what?

1

u/LetsGoHawks 11m ago

Health care is a really shit choice of domains to stand up a mew team with no training.