MySQL Forums
Forum List  »  Connector/ODBC

How to get a list of tables using SQLTables()?
Posted by: Agron Selimaj
Date: November 05, 2009 08:55AM

Hi,

I am trying to get a list of tables from a selected MySQL database. I am using the following function call to get the table names from a Microsoft SQL server 2005.
retcode = SQLTablesW( hstmt,
(SQLWCHAR*) strTemp.c_str(), // CatalogName
SQL_NTS, // CatalogLength
L"dbo", SQL_NTS, // SchemaName (dbo) and length
NULL, 0, // TableName and length
L"TABLE", SQL_NTS); // TableType and Length



Edited 1 time(s). Last edit at 11/05/2009 09:25AM by Agron Selimaj.

Options: ReplyQuote


Subject
Written By
Posted
How to get a list of tables using SQLTables()?
November 05, 2009 08:55AM


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.