MySQL Forums
Forum List  »  Newbie

Re: Problem with SELECT LAST_INSERT_ID()
Posted by: Peter Brawley
Date: May 18, 2015 10:42AM

You may need to call NextResult() to get the result of a 2nd query called in that way.

Beware that doing multiple queries like this is insecure (sql injection).

Options: ReplyQuote


Subject
Written By
Posted
Re: Problem with SELECT LAST_INSERT_ID()
May 18, 2015 10:42AM


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.