Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 can anybody comment on this topic

Author  Topic 

DURGESH
Posting Yak Master

105 Posts

Posted - 2008-07-03 : 05:48:00
hi all,
i have two databases of same objects
when i am seeing the depends of one of the table in both the databases. Its showing wrong no of dependent objects

example:
i have a table schema in both the database. i wrote a trigger on this table called trg_schema which is using a column value of another table called tbl_nmpairs
now i want to know the dependent objects of tbl_nmpairs
In one database it is showing trg_schema and in another it is not displaying the trg_schema as dependent object

can anybody help me to solve this issue

thanks in advance
regards
jaydee

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-07-03 : 06:03:22
how are you checking for dependent objects? if u r using sp_depends please note that it will list only those dependencies which are in current db.
Go to Top of Page

DURGESH
Posting Yak Master

105 Posts

Posted - 2008-07-03 : 07:00:16
i have executed sp_depends 'tbl_nmpairs' on both the databases
Go to Top of Page
   

- Advertisement -