Am!T
4|v|!"|" "|"3<|-||\|0 800|{
Showing posts with label
TSQL
.
Show all posts
Showing posts with label
TSQL
.
Show all posts
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)
Older Posts
Home
Subscribe to:
Posts (Atom)