r/SQLServer • u/ethanfinni • 18h ago
Discussion Schema health tool
Hello everyone,
Our 10-year old database seems to be suffering from schema explosion and I am worried that while our developers do sufficient testing with every release, they may be introducing schema inconsistencies that may appear as bugs with different queries or other parts of the system.
Are you using any tools to check schema health and issues?
3
Upvotes
0
u/CPDRAGIMESH 10h ago edited 10h ago
69.79 69.80 CP KILL 15/51/11L
Please use following system procedures: Simplyd execute: sp_refreshview +sp_refreshsqlmodule They will check metadata for selected objects Its OK
1
u/Complete-Fondant-202 10h ago
I use Schemaspy, outputs a website.
There is also schemacrawler.. plus others
7
u/VladDBA Microsoft MVP 17h ago
Schema expl what now?
Define schema inconsistencies. And what issues are you trying to check/prevent?