C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Find All Stored Procedures Containing Text In SQL SERVER
WhatsApp
Nikhil Sangani
Aug 22
2016
56.8
k
0
0
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
Up Next
Find All Stored Procedures Containing Text In SQL SERVER