Created
April 17, 2024 01:19
-
-
Save LetsGoRafting/cb302869068ed789e497ac7780690ddd to your computer and use it in GitHub Desktop.
find text in procedures functions views triggers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT [Schema] = schema_name(o.schema_id), o.Name, o.type | |
FROM sys.sql_modules m | |
INNER JOIN sys.objects o ON o.object_id = m.object_id | |
WHERE m.definition like '%mytexttofind%' | |
GO |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment