CREATE OR REPLACE TRIGGER DTULTATU_ALIQTEMP
BEFORE INSERT OR UPDATE
ON ALIQTEMP FOR EACH ROW

BEGIN
   IF INSERTING THEN
      :NEW.DTULTATUALIQTMP := SYSDATE;
   END IF;
   IF UPDATING THEN
      :NEW.DTULTATUALIQTMP := SYSDATE;
   END IF;
END;
/

ALTER TABLE ALIQTEMP MODIFY DTULTATUALIQTMP DEFAULT SYSDATE
/

-- VERSAO --
BEGIN ATUVEROBJ('SQLWEBTUNNING','5.03.009'); END;
/
