Alex Rivera | Logout

SQL Management Studio 'View Dependencies' Not Listing All Dependencies

Asked 2012-04-02T00:43:17.560
10

In the past I thought when right-clicking on a table in SSMS and click 'View Dependencies' it will list out all tables and stored procs that uses the table. But recently I noticed it miss some dependencies.

Sometimes it misses some stored procs that reference it using SELECT statements, sometimes it's INSERT or UPDATE statements. There doesn't seem to be a common pattern on what is dependent and what is not. Can any one shed some light on this? (And no, it's not a permission issue. I have sysadmin rights.)

My final goal is to find a way to find all dependencies on a particular table/view/stored proc using the simplest way (ie. little or no scripting) but it must return ALL dependencies, not just some. Any help?

PS. I'm using SQL Server 2005 and SSMS 2005.

Thanks.

Edit
Report

1 Answer

2

I have just noticed the same problem with Management Studio.

But fortunately found that if you use Visual Studio Database projects, and use the "View Schema" pane you can right click on an item and view dependencies. The dependencies shown seem to be accurate.

answered 2012-08-08T10:41:18.257

Your Answer