Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

find column in all stored procedures sql server

-- Search column in All Objects
SELECT OBJECT_NAME(OBJECT_ID),
definition
FROM sys.sql_modules
WHERE definition LIKE '%' + 'BusinessEntityID' + '%'
GO
Source by blog.sqlauthority.com #
 
PREVIOUS NEXT
Tagged: #find #column #stored #procedures #sql #server
ADD COMMENT
Topic
Name
7+8 =