** Pastebin PRO Accounts Spring Special ** Get 40% discount for a limited time only! Click Here to check it out ;-)Want more features on Pastebin? Sign Up, it's FREE!

In SQLServer is there a DMV to get the dependencies of an object

By: a guest on Feb 26th, 2012  |  syntax: None  |  size: 0.18 KB  |  views: 22  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. QUOTENAME(S.name) + N'.' + QUOTENAME(O.name) AS ReferencedObject,
  3. SED.referenced_server_name, SED.referenced_database_name,
  5. SED.referenced_schema_name, SED.referenced_entity_name
clone this paste RAW Paste Data