SELECT obj.Name SPName, sc.TEXT SPText
FROM sys.syscomments sc
INNER JOIN sys.objects obj ON sc.Id = obj.OBJECT_ID
WHERE sc.TEXT LIKE '%' + 'CreatedBy' + '%'
AND TYPE = 'P'
Related Searches : Find the column reference in stored procedure Sql server.
No comments:
Post a Comment