CREATE OR REPLACE TRIGGER TG_INSERE_NRORGTRAB
BEFORE INSERT
ON OPERADOR
REFERENCING NEW AS NEW
FOR EACH ROW
BEGIN
    IF :NEW.NRORGTRAB IS NULL THEN
        :NEW.NRORGTRAB := :NEW.NRORG;
    END IF;
END;