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 |
nguyenl
Posting Yak Master
128 Posts |
Posted - 2008-08-11 : 13:14:45
|
Is there a query I can run to get a list of Stored Procedures?Thanks, |
|
sodeep
Master Smack Fu Yak Hacker
7174 Posts |
Posted - 2008-08-11 : 13:19:31
|
select name from sysobjects where type = 'P'orSelect name from sys.procedures--Edit : Don't wanna display all info |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2008-08-11 : 13:22:39
|
Better yet, use the INFORMATION_SCHEMA view. It's better to get comfortable with the INFORMATION_SCHEMA views rather than using system tables as system tables can and will change between versions. SELECT *FROM INFORMATION_SCHEMA.ROUTINESTara KizerMicrosoft MVP for Windows Server System - SQL Serverhttp://weblogs.sqlteam.com/tarad/Subscribe to my blog |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2008-08-11 : 13:24:39
|
select * from sys.objects where type in ('P','PC')if you want CLR stored procedure also |
|
|
|
|
|