Auto increment column (Serial Type) value will not rollback
Posted by: Kapil Dhakad
Date: July 11, 2005 11:59PM

Hi,

I am executing following group of statements

insert into table (col2, ..........) values (val2, val3.........)

'col1' of this table is primary key and which is auto-incremented by 1 that is it's a serial key. But when I want rollback insertion then for next insertion it generate next serial key value.

Is rollback of serial key not handle by MySQL internally ?
If No, then what will be alternative solution ?

Thanks in advance
- Kapil Dhakad

Options: ReplyQuote


Subject
Written By
Posted
Auto increment column (Serial Type) value will not rollback
July 11, 2005 11:59PM


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.