On SQL Server 2005, you’re supposed to be able to find dependencies in Manglement Studio by right-clicking an object and choosing “View Dependencies”. The dialog gives you a choice of “Objects that depend on this” (what I’m calling down-stream) or “Objects that this depends on” (up-stream).
Both directions seem to work adequately for Table objects, and View objects seem to report good information in the up-stream direction. The down-stream list for a View, however, appears to consist only of the View itself–even when I know that there are other dependents (in this case, another view).
Is there a way that I can find this information? I’m comfortable with writing queries against system tables if I have a clue about which to target….
try:
if you get no results, drop and recreate your view and try again. Dropping and recreating may work for the GUI but I didn’t try there
this is a little slow (and not the best query), but give it a try: