SQLTables (Extension Level 1)

[This is preliminary documentation and subject to change.]

SQLTables returns a list of table names stored in a specific data source. The information is returned in a result set. This function can also be used to enumerate either the table qualifiers in the data source or the owners in a given data source. In the case of the adapter supporting SNMP, qualifiers correspond to devices. Thus, a client can use this function to enumerate the devices supported by the data source. In fact, this is what MSQuery does to list the available databases in its Add Table dialog box.

An extra column is added to the SQLTables result set. This extra column is used to return the table metadata. The format of the metadata is identical to that returned by SQLColumns.