Skip to content

Instantly share code, notes, and snippets.

@AndyConlisk
Last active August 29, 2015 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AndyConlisk/d3fd59d65e5df4c67a9d to your computer and use it in GitHub Desktop.
Save AndyConlisk/d3fd59d65e5df4c67a9d to your computer and use it in GitHub Desktop.
SQL statment to find all instances of utility in stored procs
SELECT DISTINCT so.name FROM syscomments sc INNER JOIN sysobjects so on sc.id=so.id WHERE sc.text LIKE '%utility%'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment