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 2008 Forums
 High Availability (2008)
 How to find No of Objects in SQL Stored Procedure.

Author  Topic 

Jayam.cnu
Starting Member

45 Posts

Posted - 2011-12-06 : 02:16:40
Hi....
How to find number of objects existed in a Stored Proc in SQL Server 2008 R2.


Sreenivasulu.p,
Mail ID: sreenivas.puliverthi@gmail.com

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2011-12-06 : 03:57:48
number of objects existed in stored proc? what does that mean?
Are you looking at objects referred from a stored proc?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

nigelrivett
Master Smack Fu Yak Hacker

3385 Posts

Posted - 2011-12-06 : 03:58:10
have a look at sp_depends

==========================================
Cursors are useful if you don't know sql.
SSIS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2011-12-06 : 03:59:12
anyways start with
EXEC sp_depends 'procedure name'

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -