I'm working on creating an exception report that will look for issues across the database and display in in a dashboard.
Things like 5 files where Date of Birth is missing, 2 files where Age is greater than 100 years, 10 clients with status Open and a file close date exists...
really an unlimited number of exceptions. I'm hoping to put each possible exception into a table, along with the select query required to generate the data.
The web design would then be an alert box that shows all the non-zero exceptions found.
What would be the most efficient way to go about doing this in SQL Server?