× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



INSTEAD OF triggers
A new SQL trigger in DB2 UDB for iSeries is referred to as an INSTEAD OF 
trigger. INSTEAD OF triggers can be defined only on a view and are 
processed instead of the INSERT, UPDATE, or DELETE statement against the 
view. 
In general, only specific kinds of views can be deleted, updated, or 
inserted. Using an INSTEAD OF trigger, the requested operation against the 
view gets replaced by the trigger logic, extending the update capability 
of the view. The logic in the INSTEAD OF trigger can be as straightforward 
as knowing which underlying tables need to be updated when an UPDATE is 
done against the view. Or it can contain complex business logic that can 
hide the complexity of the schema and do additional authorization checking 
or encryption of data before executing the logic against the underlying 
tables. 
For details about INSTEAD OF triggers, visit 
http://www.ibm.com/iseries/db2/iot.html 



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.