MySQL Forums
Forum List  »  Newbie

Re: get latest row id after insert
Posted by: Michael Douglass
Date: April 21, 2005 11:29PM

SELECT LAST_INSERT_ID() as blah;

Here's the web page:
http://dev.mysql.com/doc/mysql/en/getting-unique-id.html

MikeDoug

Options: ReplyQuote


Subject
Written By
Posted
April 21, 2005 11:08PM
Re: get latest row id after insert
April 21, 2005 11:29PM


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.