Stored Proc Dependency

  • Hello,

    Does anybody have an idea on how to script the logic to find out the stored proc dependency across databases in a server?

    I'm thinking of a common logic where it should be useful to figure out the table objects being used in the stored procedures.

    Any ideas would be greatly helpful.

    Thanks in advance and have a great weekend.


    Lucky

  • SQL uses sp_MSdependencies SP to get this info, if you run

    sp_helptext sp_MSdependencies you can see what is in the SP and presumably cobble together what you need.

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

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