Using Oracle Advanced Queues to monitor when a database table column is updated
问题 Env: Oracle 12c I am new to Oracle Advanced Queues (AQ) and it looks like it's supposed to be the best approach to use instead of polling. Based on this, I want to utilise AQ to be used based on the following trigger: CREATE OR REPLACE TRIGGER MY_TRG AFTER UPDATE OF STATUS ON "MY_TABLE" REFERENCING NEW AS NEW OLD AS OLD FOR EACH ROW declare v_status INTEGER; begin if :OLD.status = 'ERROR' and (:NEW.status = 'OK' or :NEW.status = 'ERROR') then -- -- do some Advanced Queue processing here ? --