Re: "Display Dependencies" not showing all dependencies
From: David (spammersgohome_at_spammersgohome.com)
Date: 09/29/04
- Next message: Peter The Spate: "update from standard edition to enterprise edititon"
- Previous message: Owen: "Re: character(s) that cannot be stored in DB"
- In reply to: Aaron [SQL Server MVP]: "Re: "Display Dependencies" not showing all dependencies"
- Next in thread: Aaron [SQL Server MVP]: "Re: "Display Dependencies" not showing all dependencies"
- Reply: Aaron [SQL Server MVP]: "Re: "Display Dependencies" not showing all dependencies"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 29 Sep 2004 08:59:51 GMT
So do you have a suggestion?
I would like to re-engineer a table (changing a column type), so I need to
find all objects that talk to this table.
If "Display Dependencies" does not do what it's supposed to, then what
purpose does it serve other than giving partial answers?
"Aaron [SQL Server MVP]" <ten.xoc@dnartreb.noraa> wrote in message
news:uZaO$RYpEHA.1960@TK2MSFTNGP10.phx.gbl...
> Because of deferred name resolution and other factors, then you won't
> necessarily see all dependencies (e.g. depending on the order the objects
> were created). I think one way to solve would be to recompile the stored
> procedures, but I still don't think that will guarantee all dependencies
> will show up... there are other things that aren't captured by sp_depends,
> e.g. dynamic SQL.
>
> --
> http://www.aspfaq.com/
> (Reverse address to reply.)
>
>
>
>
> "David C" <nospam@nospam.com> wrote in message
> news:0oh6d.21182$OB2.1947@twister.socal.rr.com...
>> Within Sql Server Enterprise, I click on an object to show dependencies,
> and
>> there is something I am not seeing here.
>>
>> For example, I want to see all dependencies for a given table. It shows
>> a
>> view and a couple of stored procedures that perform SELECT statements.
>> However, there is a stored procedure that performs UPDATE and INSERT
> against
>> that particular table, but I am not seeing on in the Display Dependencies
>> screen.
>>
>> When I attempt to see the Dependencies screen on the stored procedure
>> that
>> does UPDATE and INSERT, I am not seeing the table listed.
>>
>> There seems to be a disconnect some place either in my head or in
> Enterprise
>> Manager. What am I missing? How can I display, all, I mean ALL
>> dependencies? For a given table, I want stored procedures listed if they
> do
>> ANYTHING on the table. And views. And functions. All dependencies,
>> period. How can I do that?
>>
>>
>
>
- Next message: Peter The Spate: "update from standard edition to enterprise edititon"
- Previous message: Owen: "Re: character(s) that cannot be stored in DB"
- In reply to: Aaron [SQL Server MVP]: "Re: "Display Dependencies" not showing all dependencies"
- Next in thread: Aaron [SQL Server MVP]: "Re: "Display Dependencies" not showing all dependencies"
- Reply: Aaron [SQL Server MVP]: "Re: "Display Dependencies" not showing all dependencies"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|