I normally do a like on syscomments.
select distinct object_name(ID) from syscomments where text like '%my search
phrase goes here%'

Signature
http://www.zetainteractive.com - Shift Happens!
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
> How to genericaly search the entire db for any text string in any stored
> procedure, function, table definition, agent job, etc. Any one command or
> anyone have a stored proc that does this wide search?