Entering content frame

 TRIGGERS 

Using the system table TRIGGERS, you can determine the following database information, among other things:

·        Insert trigger for the table HOTEL
SELECT triggername, definition
  FROM DOMAIN.TRIGGERS
    WHERE tablename = 'HOTEL'
      AND INSERT = 'YES'

·        Table and action for which the trigger MYTRIGGER was defined
SELECT owner, triggername, insert, update, delete
  FROM DOMAIN.TRIGGERS
    WHERE triggername = 'MYTRIGGER'

 

Leaving content frame