kaveer
8/26/2016 - 9:35 AM

Search word in all stored procedure

Search word in all stored procedure

SELECT ROUTINE_NAME, ROUTINE_DEFINITION
FROM INFORMATION_SCHEMA.ROUTINES 
WHERE ROUTINE_DEFINITION LIKE '%xxxxxxx%' 
AND ROUTINE_TYPE='PROCEDURE'