Getting the list of tables and Columns that are embedded in a view ,function or a procedure is simple
sp_depends ‘viewName or ProcedureName‘
Documented in MSDN
Getting the list of tables and Columns that are embedded in a view ,function or a procedure is simple
sp_depends ‘viewName or ProcedureName‘
Documented in MSDN
[...] TableA to the new table TableB. Some of Datasets in the Reports are Stored Procedures and so I used sp_depends procedure to get the list of dependencies for [...]