Red Gate forums :: View topic - Code to find all Stored Procedures in SQL Server
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation

SQL Prompt code snippets forum

Code to find all Stored Procedures in SQL Server

Search in SQL Prompt code snippets forum
Post new topic   Reply to topic
Jump to:  
Author Message
paulxavierx



Joined: 03 Jun 2011
Posts: 1

PostPosted: Fri Jun 03, 2011 7:19 pm    Post subject: Code to find all Stored Procedures in SQL Server Reply with quote

Hi,
Here is a simple code to find all ACTIVE Stored Procedures in SQL Server


Code:
SELECT DISTINCT so.name
FROM syscomments sc
INNER JOIN sysobjects so ON sc.id=so.id
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group