CREATE OR REPLACE TRIGGER DEVICE_SEQ_TRIGGER 
BEFORE INSERT ON DEVICE FOR EACH ROW
BEGIN
    :NEW.NRDEVICE := DEVICE_SEQ.NEXTVAL;
END;
/

-- VERSAO --
BEGIN ATUVEROBJ('DEVICE_SEQ_TRIGGER','6.35.009'); END;
/

