MySQL Forums
Forum List  »  General

insert ignore ... auto increment value
Posted by: Laavanya K
Date: December 02, 2009 12:21AM

Hi,

I have a table with 2 column : sid, rawid

sid is primary key with auto increment value.

rawid is unique value.

thus i use insert ignore, it does not do anything should rawid exist.

however, i realize the auto-increment value increases even if row is not inserted. is there a way to prevent this?

Options: ReplyQuote


Subject
Written By
Posted
insert ignore ... auto increment value
December 02, 2009 12:21AM


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.