how to get the list of tables used in a storedprocedure

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shivakrishna
    New Member
    • Oct 2008
    • 3

    how to get the list of tables used in a storedprocedure

    how to get the list of all tables and views used in storedprocedure
    can any one help in this issue
  • ck9663
    Recognized Expert Specialist
    • Jun 2007
    • 2878

    #2
    This is a little tricky since a VIEW and table-function can sometimes act as tables. Although function should have the parenthesis. There's also a table variable and temp tables.

    Do it the old fashion way: Read the stored proc.

    Good luck

    -- CK

    Comment

    Working...