If you want to update the startwith value of a sequence, you cannot directly change it. the following error occurs: SQLgt; altersequenceseq_xxrsstartwith1000; altersequ.
If you want to update the start with value of a sequence, you cannot directly change it. the following error occurs: SQLgt; alter sequence seq_xxrs start with 1000; alter sequ.
If you want to update the start with value of a sequence, you cannot directly change it. An error is returned:
SQL> alter sequence seq_xxrs start with 1000;
Alter sequence seq_xxrs start with 1000.
ORA-02283: unable to change startup serial number
So, how to add a sequence value? You can change the increment by using the following methods:
1. Change increment to a value that you want to add to the sequence.
Alter sequence seq_xxrs increment by 1000;
2. Execute a query sequence statement.
Select seq_xxrs.nextval from dual;
3. Change the increment back.
Alter sequence seq_xxrs increment by 1;
The value of the sequence increases.
Related reading:
GoldenGate performs two-way Oracle-Oracle replication without using a Data Pump
One-way Oracle-Oracle Replication Using the GoldenGate Data Pump
How to debug Oracle Data Pump (expdp/impdp)
Oracle Database Export data pump (EXPDP) file storage location
Export of Oracle 10g Data Pump Partition Table