MySQL Forums
Forum List  »  MyISAM

Re: select auto_increment value
Posted by: KimSeong Loh
Date: June 06, 2006 12:09PM

Same comment, someone may insert it and get that value before you do.
And, the next auto_increment is not always max(col) + 1 , an example will be if the max value has been deleted from the table.

Options: ReplyQuote


Subject
Views
Written By
Posted
26737
May 03, 2006 08:22PM
16132
May 03, 2006 09:00PM
12445
May 03, 2006 09:19PM
11784
June 06, 2006 11:22AM
Re: select auto_increment value
9073
June 06, 2006 12:09PM


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.