How do you find all dependencies of a database table?

Posted by Carlos on Super User See other posts from Super User or by Carlos
Published on 2010-05-17T12:29:30Z Indexed on 2010/05/17 12:31 UTC
Read the original article Hit count: 213

Filed under:
|

In MS SQL 2005, is it possible to find out which tables/columns are being used either as keys in another table, or as part of a stored procedure?

The reason is I'm trying to clean up some old stored procs and tables, some of which can be removed, some of which can have columns pruned. But obviously I don't want to remove stuff which is being used.

© Super User or respective owner

Related posts about sql-server

Related posts about dependencies