SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 High Availability (2008)
 How to find No of Objects in SQL Stored Procedure.
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Jayam.cnu
Starting Member

India
45 Posts

Posted - 12/06/2011 :  02:16:40  Show Profile  Reply with Quote
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

India
52317 Posts

Posted - 12/06/2011 :  03:57:48  Show Profile  Reply with Quote
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
Flowing Fount of Yak Knowledge

United Kingdom
3383 Posts

Posted - 12/06/2011 :  03:58:10  Show Profile  Visit nigelrivett's Homepage  Reply with Quote
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

India
52317 Posts

Posted - 12/06/2011 :  03:59:12  Show Profile  Reply with Quote
anyways start with
EXEC sp_depends 'procedure name'

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

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000