Viewing post 1 (of 1 total)
I would change query a little
select 'DROP PROCEDURE ['+ si.name + '].[' + so.name + ']'+ CHAR(13)+CHAR(10)+'GO'+CHAR(13)+CHAR(10)+
OBJECT_DEFINITION(object_id)+ CHAR(13)+CHAR(10)+'GO'+CHAR(13)+CHAR(10)
from sys.objects so inner join...
October 30, 2009 at 2:55 am
#1072977