Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

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

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 List of Stored Procedures
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Posting Yak Master

128 Posts

Posted - 08/11/2008 :  13:14:45  Show Profile  Reply with Quote
Is there a query I can run to get a list of Stored Procedures?


Flowing Fount of Yak Knowledge

7174 Posts

Posted - 08/11/2008 :  13:19:31  Show Profile  Reply with Quote
select name from sysobjects where type = 'P'


Select name from sys.procedures

--Edit : Don't wanna display all info

Edited by - sodeep on 08/11/2008 13:25:29
Go to Top of Page

Almighty SQL Goddess

38200 Posts

Posted - 08/11/2008 :  13:22:39  Show Profile  Visit tkizer's Homepage  Reply with Quote
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.


Tara Kizer
Microsoft MVP for Windows Server System - SQL Server

Subscribe to my blog
Go to Top of Page

Very Important crosS Applying yaK Herder

52326 Posts

Posted - 08/11/2008 :  13:24:39  Show Profile  Reply with Quote
select * from sys.objects where type in ('P','PC')
if you want CLR stored procedure also
Go to Top of Page
  Previous Topic Topic Next 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