Created
August 28, 2012 09:24
-
-
Save mattiaswolff/3496506 to your computer and use it in GitHub Desktop.
SQL: Free text search in stored procedures ect.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT OBJECT_NAME(id) | |
FROM syscomments | |
WHERE [text] LIKE '[[Text to search for]]' | |
GROUP BY OBJECT_NAME(id) | |
ORDER BY OBJECT_NAME(id) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment