First morning with a ten-year-old clinic database
Picture an operations lead at a 35-person regional health clinic inheriting a nine-year-old SQL Server database that runs appointments and billing. Leadership asks reasonable questions every month (patient retention, no-show rates by location, unbilled visits), yet nobody knows which of the 400 tables are still active and which ones were left behind after a software upgrade six years ago.
Before building a single chart, you need a safe, read-only look at what is actually inside.
Step 1: Clear away the unused tables
Business software creates hundreds of internal tables for session logs, audit trails, print queues, and modules you never turned on. Scanning the database in read-only mode and tucking away empty tables, completely blank columns, and untouched old tables usually narrows 400+ raw tables down to the 20 to 40 active tables your staff actually use.
Step 2: Run a column health checkup
Automated profiling scans real values inside each active table and brings hidden reporting traps to the surface in minutes:
| Checkup signal | Real-world clinic example | Why it breaks reporting |
|---|---|---|
| Mixed capitalization or codes | patient_status has 14 variants (Active, active, ACT) |
Simple filters quietly undercount active patients |
| High blank rate | referral_source is 82% empty |
Charts look misleading unless missing rows are shown honestly |
| Stale last-updated date | legacy_visits_2019 has had no new rows in six years |
Staff accidentally pull dead tables |
| Unmatched IDs | 114 billing rows point to a deleted provider ID | Joins silently drop revenue from clinic summaries |
Step 3: Turn what you find into automatic checks
Once you spot an important rule, such as “every completed appointment must have a valid clinic location” or “invoice total must equal the sum of its line items,” save it as an automatic quality check. Every refresh tests those rules and flags problem rows cleanly before numbers reach leadership.
Step 4: Write descriptions once and track what uses them
Add plain-English descriptions directly to the core tables and columns your team cares about, and keep that living dictionary tied to the same workspace that powers your reports. In Datellio Studio, every area and table rolls those checks into a clear 0 to 100 trust score, which fits privacy-focused teams like regional clinics and healthcare foundations.
Related workspace & industry page
See how Datellio puts these practices to work directly on your own computer.


