Created
June 5, 2014 01:22
-
-
Save yayoc/720977ed6860ab8e2915 to your computer and use it in GitHub Desktop.
Search Sql Server modules
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 O.type,O.name,M.definition | |
FROM sys.sql_modules AS M | |
JOIN sys.objects AS O ON M.object_id = O.object_id | |
WHERE M.definition LIKE '%keyword%' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment