8i | 9i | 10g | 11g | 12c | 13c | 18c | 19c | Misc | PL/SQL | SQL | RAC | WebLogic | Linux

Home » Misc » Here

Comments for DEFAULT Values for Table Columns : Enhancements in Oracle Database 12c Release 1 (12.1)

Conqueror said...

After inserting a record into the table using sequence.nextval, if the insert is rolled back, will the sequence be reduced by one?

Tim... said...


No. This is the same with identity columns in Oracle. Sequence behaviour is unchanged in this respect. Similarly, turning off the database will cause gaps as cached sequence numbers will be lost.



DO NOT ask technical questions here! They will be deleted!

These comments should relate to the contents of a specific article. Constructive criticism is good. Advertising and offensive comments are bad and will be deleted!

If you post personal information (name, email address etc.) you are agreeing to them being stored and displayed. Feel free to remain anonymous.