List:MySQL++« Previous MessageNext Message »
From:Jim Wallace Date:September 19 2007 4:16pm
Subject:RE: All tables for a Database ( with information)
View as plain text  
You can hit the information_schema database, or I suspect you can issue
the following as a queries, since they return a result sets

query << "show tables";
.... row.at(x).at(0) is tablename
query << "describe " << tablename; 

run interactively to see what to expect.

-----Original Message-----
From: Mandy Llanes [mailto:mandy.llanes@stripped] 
Sent: Wednesday, September 19, 2007 6:49 AM
To: plusplus@stripped
Subject: All tables for a Database ( with information)

Hello,
I want recovery information for all tables of a database. With
mysqlpp::Connection i have the conection to database, but how i can
recovery all information for their tables ( fields, type fields, keyword
fields).

Thank's very much.
Thread
All tables for a Database ( with information)Mandy Llanes19 Sep
  • RE: All tables for a Database ( with information)Jim Wallace19 Sep
  • Re: All tables for a Database ( with information)Warren Young20 Sep
  • Re: All tables for a Database ( with information)Mandy Llanes20 Sep