Find a character or string with in procedures or views or triggers


Find a character or string with in procedures or views or triggers



SELECT DISTINCT so.name,sc.text
FROM syscomments sc
INNER JOIN sysobjects so ON sc.id=so.id
WHERE so.xtype in ('P','TR','V') and sc.TEXT LIKE '%sy%'
order by name

Comments

Popular posts from this blog

How to Stop Excel from giving a number in scientific notation

roslyn in MVC

HTTP Error 500.0 - Internal Server Error Calling LoadLibraryEx on ISAPI filter "C:\Windows\Microsoft.NET\Framework\v4.0.30319\\aspnet_filter.dll" failed