Hello,
I have a database which contains 100's of stored procedures. I want to find which the longest stored procedure in these. How can i find it?
Currently i am using
Select text,MAX(len(text))
from syscomments
group by text;
But i am not able to find the name of stored procedure in it.
Thanks in advance :)