8i | 9i | 10g | 11g | 12c | Misc | PL/SQL | SQL | RAC | Linux

Home » Misc » Here

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

DEFAULT Values for Table Columns : Enhancements in Oracle Database 12c Release 1 (12.1) - This article describes the changes to table column defaults in Oracle Database 12c.



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...

Hi.

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.

Cheers

Tim...

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!