Finden Sie die Spalte in allen gespeicherten Prozeduren SQL Server

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