mySQL in C++
Posted by:
B A
Date: August 11, 2011 01:47PM
hi,
I have the following code in my C++ program:
query_state = mysql_query(connection, "select * from cplpl");
wherein my cplpl table has 2 columns, a name and a balance.
However, when I run the program, it only shows all the records of the first column (I tried a few different tables with more columns as well, and for them also, it only returns the records in the first column), whereas when I run the same command from the mysql>, it shows all the records of all columns as I would have expected it to.
Can you please help me fix this...thx!
Subject
Views
Written By
Posted
mySQL in C++
1112
August 11, 2011 01:47PM
668
August 11, 2011 02:05PM
637
August 11, 2011 02:20PM
652
August 23, 2011 10:24AM
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.