When I change the cache size in a sequence using the PL/SQL editor, the correspondig "view SQL" text shows:
-- Alter sequence
alter sequence S_AUDIT_SEQ
cache 10;
And this is the correct command to do in SQLPLUS
but in fact the editor executes the command:
-- Create sequence
create sequence S_AUDIT_SEQ
minvalue 1
maxvalue 999999999
start with 11516779
increment by 1
cache 10
cycle;
The startvalue here is the sequence value when the editor opened.
The result could be repeating some values if the sequence is queried by other sessions.

-- Alter sequence
alter sequence S_AUDIT_SEQ
cache 10;
And this is the correct command to do in SQLPLUS
but in fact the editor executes the command:
-- Create sequence
create sequence S_AUDIT_SEQ
minvalue 1
maxvalue 999999999
start with 11516779
increment by 1
cache 10
cycle;
The startvalue here is the sequence value when the editor opened.
The result could be repeating some values if the sequence is queried by other sessions.
