CREATE OR REPLACE TRIGGER GERA_ID_LOGALTPRODCARD
BEFORE INSERT ON LOGALTPRODCARD FOR EACH ROW
BEGIN
    SELECT
        SEQ_LOGALTPRODCARD.NEXTVAL
    INTO
        :NEW.CDLOG
    FROM
        DUAL;
END;
/