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
 Transact-SQL (2000)
 Get list of stored procs

Author  Topic 

jgallen23
Starting Member

17 Posts

Posted - 2006-12-15 : 01:59:40
Is there a system stored proc that will return a list of all of the stored procs in the current database?

Kristen
Test

22859 Posts

Posted - 2006-12-15 : 02:48:25
SELECT ROUTINE_TYPE, ROUTINE_NAME
FROM INFORMATION_SCHEMA.ROUTINES
ORDER BY ROUTINE_TYPE, ROUTINE_NAME

See "INFORMATION_SCHEMA.ROUTINES view" in BoL

Kristen
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2006-12-15 : 03:08:24
Wouldnt it be cool if there is sp_procedures as to what sp_tables are for all tables?

Madhivanan

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

- Advertisement -