T-SQL – Search all Stored Procs, Triggers, Functions, and Views for Column Name
Here is some more forensic/investigative code. Suppose you need to make sure a value gets in a certain column, but you don’t know the system at all. Maybe there is a trigger or stored proc that sets the column based on some other table/column. This code gives you a list of all the stored procedures, […]