MySQL Forums
Forum List  »  Triggers

Re: Need Autoincrement field value when enter data
Posted by: Peter Brawley
Date: March 02, 2011 08:05PM

In MySQL the auto_increment value is not determined until the INSERT occurs. See last_insert_id() in the manual.

PB

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Need Autoincrement field value when enter data
1180
March 02, 2011 08:05PM


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.