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.
| Author |
Topic |
|
sent_sara
Constraint Violating Yak Guru
377 Posts |
Posted - 2008-05-20 : 00:55:53
|
| I require only the distinct objects that were depend on my stored procedures i tried for sp_depends test_spfor this dbo.iim_CPL_fsl_tree_tbl_tmp user table no no layout_slnodbo.iim_CPL_fsl_tree_tbl_tmp user table no no layout_typedbo.iim_CPL_fsl_tree_tbl_tmp user table no no level1dbo.iim_CPL_fsl_tree_tbl_tmp user table no no layout_operatordbo.iim_CPL_fsl_tree_tbl_tmp user table no no rlevel1descdbo.iim_CPL_fsl_tree_tbl_tmp user table no no rlevel2descdbo.iim_CPL_fsl_tree_tbl_tmp user table no yes guiddbo.abb_account_budget_dtl user table no no company_codedbo.abb_account_budget_dtl user table no no fb_iddbo.abb_account_budget_dtl user table no no fin_year_codedbo.abb_account_budget_dtl user table no no fin_period_codedbo.abb_account_budget_dtl user table no no account_codebeing dbo.abb_account_budget_dtl were repeated more than once.i need only the distinct objects..any other system procedure is there?? |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2008-05-20 : 01:11:31
|
| [code]create table #temp([name] varchar(50),[type] varchar(20),updated varchar(5),selected varchar(3),[column] varchar(50))insert into #tempexec sp_depends yourprocedureselect distinct [name] from #temp[/code] |
 |
|
|
|
|
|