Home Forums SQL Server 7,2000 T-SQL Search for string occurrence RE: Search for string occurrence
SQLZ
SSChampion
Points: 12872
More actions
August 30, 2006 at 9:17 am
#657572
select
distinct object_name(id) from syscomments where text like '%DDENT%'
This will return the object names that contain the string "DDENT".
Hope that helps,
Karlsource control for SQL Server