Revision: 51751
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at October 4, 2011 02:13 by brentgiesler
Initial Code
DECLARE @Search varchar(255) SET @Search='text_to_search' SELECT DISTINCT o.name AS Object_Name,o.type_desc FROM sys.sql_modules m INNER JOIN sys.objects o ON m.object_id=o.object_id WHERE m.definition Like '%'+@Search+'%' ORDER BY 2,1
Initial URL
Initial Description
Initial Title
Find text in SQL Server Objects
Initial Tags
Initial Language
SQL