Executing the following statement through Query analyzer gives the names of all procedures containing a text string :<br><br>SELECT name<br>NAME sysobjects, syscomments<br>WHERE syscomments.id = sysobjects.id<br>AND syscomments.text like '%{Insert find string here}%'<br>AND sysobjects.type = 'P'<br><br>Incidently :<br><br>To return the full text of a stored procedure in the DB, the following can be executed through Query Analyzer :<br><br>SELECT text <br>FROM syscomments, sysobjects <br>WHERE name = '{Insert Procedure Name Here}' <br>AND type = 'P' <br>AND syscomments.id = sysobjects.id<br><br>Note that the QA output is by default limited to 256 chars. To increase this, select :<br><br>Query -> Current Connection Options, Advanced Tab and set 'Maximum Chars per column' to something a lot higher.<br><br>Note also that changing the "type = 'P'" line to "type = 'TR'" allows you to look at triggers as well.<br><br>Hope it helps<br><br>Chris.<br><br><br>