Am!T
4|v|!"|" "|"3<|-||\|0 800|{
Monday, June 20, 2011
Find a string in all Stored Procedures
Find a string in all Stored Procedures:
SELECT OBJECT_NAME(id)
FROM syscomments
WHERE [text] LIKE '%foobar%'
AND OBJECTPROPERTY(id, 'IsProcedure') = 1
GROUP BY OBJECT_NAME(id)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment