Created
January 14, 2024 09:33
-
-
Save MarshalOfficial/cd14f4ccaf226af129bb88ef4732b164 to your computer and use it in GitHub Desktop.
find all sps that contain specific word in sql server
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 OBJECT_NAME(object_id) AS Procedure_Name FROM sys.sql_modules(nolock) WHERE definition LIKE '%31291%' AND OBJECTPROPERTY(object_id, 'IsProcedure') = 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment