Working on a team where people are prone to amending dev SQL Server tables and forgetting about it, or preparing a change for deployment and having to wait for that deployment. This leaves our dev and live tables inconsistent, causing problems when SPROCs are pushed live.
Is there a tool whereby I can enter a SPROC name and have it check all tables referenced in it in the dev and live DBs, and notify of any differences?
I know two excellent tools for diffing SQL database structures – they don’t specifically look inside stored procedures at their text, but they’ll show you structural differences in your databases:
Redgate also has a SQL Dependency Tracker which visualizes object dependencies and could be quite useful here.
Marc