MySQL Forums
Forum List  »  Connector/C++

How to get last inserted row ID in C++ connector?
Posted by: Tomek Wyszomirski
Date: December 08, 2009 10:48PM

Hi,

I execute SQL INSERT statement to add a row to the table. How do I obtain last inserted row ID without executing another statement (SELECT)?

In C connector we have this function: mysql_insert_id(...) - what's the equivalent in C++ connector?

Options: ReplyQuote


Subject
Views
Written By
Posted
How to get last inserted row ID in C++ connector?
6836
December 08, 2009 10:48PM


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.