Search Stored Procedure List with SQL Query Statement

This code will return list of stored procedure in your database with your keyword(already exists in stored procedure) in stored procedure.

This will display name of stored procedure and  code in stored procedure. 
  1. SELECT ROUTINE_NAME,ROUTINE_DEFINITION from INFORMATION_SCHEMA.ROUTINES where ROUTINE_DEFINITION like '%y%'