Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

search text in all sql server stored procedure

SELECT OBJECT_NAME(object_id)
    FROM sys.sql_modules
    WHERE OBJECTPROPERTY(object_id, 'IsProcedure') = 1
    AND definition LIKE '%Foo%'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #search #text #sql #server #stored #procedure
ADD COMMENT
Topic
Name
8+9 =