Skip to content

Instantly share code, notes, and snippets.

@hanson-andrew
Created March 25, 2013 13:10
Show Gist options
  • Save hanson-andrew/5236989 to your computer and use it in GitHub Desktop.
Save hanson-andrew/5236989 to your computer and use it in GitHub Desktop.
Pl/SQL snippet to search for text inside compiled procedures/functions. Courtesy of: http://stackoverflow.com/questions/853547/sql-to-search-objects-including-stored-procedures-in-oracle
SELECT owner, name, type, line, text
FROM dba_source
WHERE instr(UPPER(text), UPPER(:srch_str)) > 0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment