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 2005 Forums
 Transact-SQL (2005)
 counting the no. of stored procedures

Author  Topic 

CRP
Starting Member

10 Posts

Posted - 2009-02-23 : 06:13:15
How to count the number of stored procedures inside a database using tsql?

C.R.P RAJAN

karthik_padbanaban
Constraint Violating Yak Guru

263 Posts

Posted - 2009-02-23 : 06:20:50
select count(*) from sys.objects where type ='p'

Karthik
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2009-02-23 : 07:58:40
or

select count(*) from sys.procedures

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -