Well, you probably also want to know which stored procedure it is, right? 
DECLARE @search_text_1 VARCHAR(255), @search_text_2 VARCHAR(255) SELECT @search_text_1 = 'name', @search_text_2 = NULLSELECT @search_text_1 = '%' + @search_text_1 + '%', @search_text_2 = '%' + @search_text_2 + '%'SELECT so.name, sc.textFROM sysobjects so INNER JOIN syscomments sc ON so.id = sc.idWHERE so.xtype = 'P' AND sc.text LIKE @search_text_1 AND (@search_text_2 IS NULL OR sc.text LIKE @search_text_2)ORDER BY name, colid
Note: Logic like this becomes worthless pretty quickly if you have the same column name in a LOT of tables and haven't used a standard table alias or column prefix format.MeanOldDBAderrickleggett@hotmail.comWhen life gives you a lemon, fire the DBA.