tags:

views:

141

answers:

2

Within my rather large database, I would like to find out everywhere a column is referenced within the entire schema (SPs, functions, tables, triggers...). I don't want to just do a text search since this will pick up comments and also will find similarly named columns from other tables.

Does anyone know if/how I can do this? I use Sql Server 2008.

+1  A: 

This answer also discusses using sys.sql_dependencies. You may also need to use sp_refreshsqlmodule as I mention here

Cade Roux