find column in all stored procedures sql server
snippet in sql

find column in all stored procedures sql server

user8385

-- Search column in All Objects
SELECT OBJECT_NAME(OBJECT_ID),
definition
FROM sys.sql_modules
WHERE definition LIKE '%' + 'BusinessEntityID' + '%'
GO