..
> select object_name(c.id) from syscomments c join sysobjects o on c.id =
> o.id and o.xtype = 'P' and c.text like '%myobjname%'
>
> That should get most - will have problems where the name is split across
> pages in syscomments.
> You probably need to look at views and udf's too.
>
> As a final test recreate the database from scripts and see if there are
> any errors.
>
>
>
> Nigel Rivett
>
www.nigelrivett.net >
> *** Sent via Developersdex
http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!