I am trying to search for this string [Name].[Names - Software].[Names Delivery]
II have the following but its not finding anything:
DECLARE @string AS VARCHAR(50) = '%\[Name].[Names - Software].[Names Delivery]%'
SELECT  Name
FROM    sys.procedures
WHERE   OBJECT_DEFINITION(OBJECT_ID) LIKE @string ESCAPE '\'
How do I change @string so it will find all instances of the string?
