I have 300 stored procedures.
I want to know if the contain a commented out string or not.
Is it possible ?
For example: I want to search whether --my.dboTbls
is commented or not.
I have 300 stored procedures.
I want to know if the contain a commented out string or not.
Is it possible ?
For example: I want to search whether --my.dboTbls
is commented or not.
You could try:
Select p.*
From sys.procedures p
Where Object_Definition(p.Object_Id) Like '%--my.dboTbls%'