Finding Tables
Once you have connected to the database, you can get a list of available tables or find a specific table.
Finding Available Tables
To find out which tables are available, use the GetTables method of the database object:
Note
The GetTables method is not available with all drivers.
The result is an array of IDL structures containing information about the available tables. See IDLdbDatabase::GetTables for further information on this structure.
Finding Specific Tables
To find out if a specific table is available, inspect the list of tables returned by the GetTables method. The following IDL commands check to see if "mytable" is listed in the array of tables, and if so, print the word "Yes" to the IDL command log:
You are now ready to connect to the table and retrieve data.