How to check All Table Name used in the sp without using Sp_depends

  • Hi every one

    How to check All Table Name used in the sp without using Sp_depends

    i want a single query which give me all functions , sub stored procedures and view, and tables list which used in the sp.

    without using sp_depends........

     

    thanx in advance . Need your expert suggestions......

     

     

  • check out this recent thread on the same subject:

    http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=5&messageid=333827

    a few different examples were given on how to search syscomments, especially how to avoid the rare situation where a tablename gets split right at the 4000 char mark and is continued in the next row

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply