search field in stored procedure sql server code example
Example 1: find string in stored procedure sql server
SELECT name
FROM sys.procedures
WHERE Object_definition(object_id) LIKE '%strHell%'
Example 2: how to search table name in stored procedure in sql server
SELECT Name
FROM sys.procedures
WHERE OBJECT_DEFINITION(OBJECT_ID) LIKE '%TableNameOrWhatever%'