Menu
Reply To Topic Topic: Useful DNN SQL Scripts
:
Posted By Deleted User on 10/17/2013 4:54 PM
Script to find the stored procedures that mention a particular string. Useful for finding the stored procedures that use a field name that you changed so you can update the name. Substitute your own string for the "ThisSearchString" below. SELECT s.name + '.' + o.name ProcedureName , c.text ProcedureSteps FROM sys.syscomments c INNER JOIN sys.objects o ON c.id = o.object_id INNER JOIN sys.schemas s ON o.schema_id = s.schema_id WHERE o.type = 'P' AND c.text LIKE N'%ThisSearchString%' ORDER BY s.name + '.' + o.name , c.colid
Username:
Security Code:
CAPTCHA image
Enter the code shown above in the box below.
Subject:
RE: Useful DNN SQL Scripts
Message:
Smilies

Submit

Cancel
Subscribe:
Topic Review