Forum Replies Created

Viewing post 1 (of 1 total)

  • RE: Get list of tables used in a stored procedure

    This answer uses a number of deprecated tables that will no longer be supported.

    Here's a simpler way to achieve the same thing:

    SELECT DISTINCT p.name AS proc_name, t.name AS table_name

    FROM sys.sql_dependencies...

Viewing post 1 (of 1 total)