This Stored Procedure is for Searching all the user defined Stored Procedures in a database for the existence of a specified string . This is especially useful when you have changed some Column name and want to Find the Column Name in all the Stored Procedures where it is used, so it will return you all the SPs which contain that Column Name in them.
Well I realized that I used an additional Cursor for looping through for the SP Name which can be accomplished in the cursor which is used for retrieving the SP Text itself so I modified the Stored procedure for little optimization.