Skip to content

Instantly share code, notes, and snippets.

@mattiaswolff
Created August 28, 2012 09:24
Show Gist options
  • Save mattiaswolff/3496506 to your computer and use it in GitHub Desktop.
Save mattiaswolff/3496506 to your computer and use it in GitHub Desktop.
SQL: Free text search in stored procedures ect.
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