Overview
ALTIBASE HDB has constraints as below while using trigger.
- does not support system trigger (Schema trigger, Database trigger). and does not support DDL trigger.
- does not support Instead of trigger, Compound DML trigger
- In ORACLE, the triggering event of a DML trigger comprises multiple triggering statements. (using insert, update, delete statements)
But ALTIBASE HDB can't be done like that. ALTIBASE HDB Trigger event has to be written for each statement. - does not support RENAME clause(to rename the trigger)
Example
ORACLE |
ALTIBASE |
Comments |
---|---|---|
CREATE OR REPLACE TRIGGER trg_orders |
CREATE OR REPLACE TRIGGER trg_orders |
On the left side, |
CREATE OR REPLACE TRIGGER trg_orders_ins |
CREATE OR REPLACE TRIGGER trg_orders_ins |
almost same above |
For the rest of the differences between ALTIBASE HDB and Oracle on trigger, See PL/SQL Conversion part for more details.
That's why the most of the differences between Altibase and Oracle are in the trigger_action part.