AUTOINCREMENT & ROLLBACK
When I try to insert a record in a table with the 'id' name field that is a primarykey AUTOICREMENT after the 'BEGIN;' command, and then I execute a ROLLBACK
I lost the 'id' increment....because the next insert 'id' that I try with a COMMIT
is = (last_id value + 2)
there is a way to avoid to lose this increase?
Thank you
Subject
Views
Written By
Posted
AUTOINCREMENT & ROLLBACK
6075
March 13, 2009 09:33AM
2512
March 14, 2009 02:18PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.