Using the MySQL++ library is their any call to
1) Get a list of the databases on the Server
2) List tables in a database given a database name.
The best I could find was
show databases
show tables;
or
show tables from <database name>;
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!! Does anyone have any examples of how to implement these calls in
Visual C++ using the MySQL++ API's !!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ANY INPUT APPRECIATED
I am using the Visual C++ library for development under MS VC++ 6 on
Windows 2000 Advanced Server.
***********
Just another quick question; I have a line of code (below) but it does
not output the query to the screen. In this case the query is "Select *
from Employees limit 20" but (below) causes just "Query: " to be
displayed.
Query query = con.query();
query << "select * from Employees limit 20";
cout << "Query: " << query.preview() << endl;
Sorry if you get this for a second time - I didn't get much of a
response from the plusplus mailing list. I assure you I have checked
the web site and manual
Thanks lots
David Ayliffe (mailto:ma...@ay...)
|