Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
DECLARE @ProcDefinition VARCHAR(MAX),@ProcName VARCHAR(8000)
Declare Load_curs cursor for
select name as 'Trigger' as 'Name'
from sysobjects
where xtype = 'TR'
open Load_curs
fetch next from Load_curs into @ProcName
while (@@fetch_status=0)
begin
PRINT 'SET ANSI_NULLS ON '
PRINT 'GO'
PRINT 'SET QUOTED_IDENTIFIER ON'
PRINT 'GO'
EXEC sp_HelpText @ProcName
PRINT 'GO'
fetch next from Load_curs into @ProcName
end
close Load_curs
deallocate Load_curs