how to check if a column is used in any stored procedure sql server code example
Example: 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