Maptitude GISDK Help |
Gets a list of all the tables in an ODBC data source.
table_names = GetODBCTables(string odbc_data_source_name)
Argument |
Contents |
odbc_data_source_name |
Name of an ODBC data source |
An array of two (2) elements (null if an error occurred or there are no tables in the ODBC data source):
Element |
Type |
Contents |
1 |
Array |
An array of table names (strings) |
2 |
Array |
An array of schema names (strings) |
An ODBC data source can be set up with the ODBC setup or adminstrator program.
GetODBCTables() calls the ODBC API function SQLTables, and only returns tables whose TableType (as defined by SQLTables) is one of the following: TABLE, VIEW, ALIAS or SYNONYM. See ODBC API documentations for details.
The schema name for any table may be null.
Function |
Summary |
Gets information about an ODBC data source |
|
Gets an array of the names of all defined ODBC data sources |
|
Gets a list of all the fields in an ODBC table |
©2025 Caliper Corporation | www.caliper.com |