TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Find All Stored Procedures Containing Text In SQL SERVER
Nikhil Sangani
Aug 22
2016
Code
53.6
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
expand
To find stored procedures name which contain search text, write this query and execute.
SELECT
OBJECT_NAME(id)
FROM
SYSCOMMENTS
WHERE
[text]
LIKE
'%type here your text%'
AND
OBJECTPROPERTY(id,
'IsProcedure'
) = 1
GROUP
BY
OBJECT_NAME(id)
SQL SERVER