CREATE OR REPLACE TRIGGER DTINIVIGENCIA_CONFTELA
BEFORE UPDATE OR INSERT
ON CONFTELA
FOR EACH ROW
BEGIN
   IF :NEW.DTINIVIGENCIA IS NULL THEN
      :NEW.DTINIVIGENCIA := TO_DATE('01/01/2019', 'DD/MM/YYYY');
   END IF;
END;
/

-- VERSAO --
BEGIN ATUVEROBJ('DTINIVIGENCIA_CONFTELA','6.35.000'); END;
/