MySQL Forums
Forum List  »  Newbie

Re: Inserting data to two tables
Posted by: Phillip Ward
Date: December 13, 2017 05:40AM

LAST_INSERT_ID() is the function you need.

https://dev.mysql.com/doc/refman/5.7/en/information-functions.html#function_last-insert-id

Regards, Phill W.

Options: ReplyQuote


Subject
Written By
Posted
December 08, 2017 10:18AM
December 13, 2017 01:05PM
December 09, 2017 02:36PM
December 11, 2017 01:15AM
December 13, 2017 12:31AM
Re: Inserting data to two tables
December 13, 2017 05:40AM


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.