Search in Stored Procs
atomicbomb
Posts: 4
Description: Searches the contents of Stored Procs for a given phrase
Shortcut: ssp (Search Stored Procs)
Code:
SELECT ROUTINE_NAME, ROUTINE_DEFINITION
FROM INFORMATION_SCHEMA.ROUTINES
WHERE ROUTINE_DEFINITION LIKE '{%}foobar{%}'
Shortcut: ssp (Search Stored Procs)
Code:
SELECT ROUTINE_NAME, ROUTINE_DEFINITION
FROM INFORMATION_SCHEMA.ROUTINES
WHERE ROUTINE_DEFINITION LIKE '{%}foobar{%}'
Comments