Обсуждение: SQLTables() doesn't support enumeration

Поиск
Список
Период
Сортировка

SQLTables() doesn't support enumeration

От
Jon Willeke
Дата:
I'm using ODBCTest 3.510.3513.0 and psqlodbc 07.03.0200 on Windows 2000
with PostgreSQL 7.3.2 on SuSE Linux 8.2.

 From the SQLTables() section in the ODBC Programmer's Reference: "To
support enumeration ... the following special semantics are defined for the
CatalogName, SchemaName, TableName, and TableType arguments of SQLTables:

"If SchemaName is SQL_ALL_SCHEMAS and CatalogName and TableName are empty
strings, the result set contains a list of valid schemas for the data
source.  (All columns except the TABLE_SCHEM column contain NULLs.) ..."

Instead of getting the expected list, I get a list of tables.