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?
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.
ccm13 said...Learning, please bear with me. Pretty much understand.
Please, If you could, provide source for
Want to make sure I understand the whole process.
CREATE SEQUENCE master_seq;
CREATE SEQUENCE detail_seq;
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.