INF: Using SQL Server Web Assistant's "When Data Changes" OptionID: Q168118
|
This article describes how the SQL Server Web Assistant handles HTML page generation using the "When Data Changes" scheduling option.
With the SQL Server Web Assistant, you can generate an HTML file whenever
the data changes for one or more tables, by using the Scheduling screen and
selecting the "When Data Changes" option. This is accomplished by building
an INSERT, UPDATE, and DELETE trigger for each of the tables selected by
the user. Any existing triggers will be automatically detected by the Web
Assistant and retained.
A "Trigger Found" dialog box will be raised for each of the existing
triggers for all of the tables referenced in the Scheduling screen. The
user has the option of editing the trigger code and clicking OK to accept
the proposed changes, or clicking Cancel to leave the trigger intact.
The trigger object built by the SQL Web Assistant will have a name
generated according to the following:
Web_tableObjectId_1 -> INSERT trigger
Web_tableObjectId_2 -> UPDATE trigger
Web_tableObjectId_3 -> DELETE trigger
Q167135 : A Stored Procedure to Display Trigger Information
select tabObjId=object_id('tabName')
You can also use the sp_helptriggers stored procedure, as discussed in
article Q167135, mentioned above.
select * from sysobjects where name like 'Web_tabObjId%'
drop trigger <Webtriggername>
Keywords : kbcode kbusage SSrvStProc SSrvWeb
Version : 6.5
Platform : WINDOWS
Issue type : kbhowto
Last Reviewed: April 9, 1999