• mtlsql (7/7/2015)


    You can also query sys.sydepends for more information. This is nice since you can join to it in SQL statements, unlike a stored procedure. There's more info at:

    https://msdn.microsoft.com/en-us/library/ms190325.aspx%5B/quote%5D

    Which is exactly what sp_depends does as you can check by using sp_helptext.

    Luis C.
    General Disclaimer:
    Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?

    How to post data/code on a forum to get the best help: Option 1 / Option 2