-
-
Save NKid/fa9d2c939772a185e785 to your computer and use it in GitHub Desktop.
[搜尋預存程序]
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 obj.Name SPName, sc.TEXT SPText | |
FROM sys.syscomments sc | |
INNER JOIN sys.objects obj ON sc.Id = obj.OBJECT_ID | |
WHERE sc.TEXT LIKE '%' + 'Search Keyword' + '%' AND obj.Type='P' | |
--sys.objects.Type → P = SQL 預存程序 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment