Re: execute multiple queries with mysql c++ connector

From: kushal bhattacharya <bhattacharya.kushal4_at_gmail.com>
Date: Sat, 4 Mar 2017 04:00:10 -0800 (PST)
Message-ID: <5f844ba9-2370-48cd-8c6a-c39985c5ca75_at_googlegroups.com>


example is as follows :-
insert into table values(value to provide here);select last_insert_id() as id; i cant run this query in c++ library of mysql it says Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '; ' but it runs properly well in phpmyadmin sql editor Received on Sat Mar 04 2017 - 13:00:10 CET

Original text of this message