Column Name
|
Type
|
Len
|
Description
|
TABLE_QUALIFIER*
|
WVARCHAR
|
128
|
The name of the database in which the table falls. It can be used to distribute tables into physically different databases. SCHEMA is normally used. The entry here is the same you use in OA_COLUMNS and OA_TABLES.
|
TABLE_OWNER*
|
WVARCHAR
|
128
|
The owner of the table. It is normally set to system or user.
SYSTEM—the table is managed by the OpenAccess SDK SQL engine.
OAUSER—the table is managed by the IP.
In future releases, this entry will be used to control access rights to the table and will represent the actual user who owns the table. The entry here and in the OA_COLUMNS must match.
|
TABLE_NAME*
|
WVARCHAR
|
128
|
Name of the table. This is how the end user will refer to it.
|
NON_UNIQUE*
|
SMALLINT
|
|
Indicates whether the index prohibits duplicate values:
• TRUE (1) if the index values can be non-unique.
• FALSE (0) if the index values must be unique.
• NULL (empty) if TYPE is SQL_TABLE_STAT
|
INDEX_QUALIFIER
|
WVARCHAR
|
128
|
Name of the database to which the table belongs.
|
INDEX_NAME*
|
WVARCHAR
|
128
|
Name of the index:
NULL (empty) if TYPE is SQL_TABLE_STAT
|
OA_TYPE*
|
SMALLINT
|
|
Type of information being returned. Should be set to 1-3 for Microsoft Access to pick up the indexes:
• SQL_TABLE_STAT (0)—indicates a statistic for the table
• SQL_INDEX_CLUSTERED(1)— indicates a clustered index
• SQL_INDEX_HASHED(2)— indicates a hashed index
• SQL_INDEX_OTHER(3)—indicates another type of index
|
SEQ_IN_INDEX*
|
SMALLINT
|
|
Column sequence number in index (starting with 1)
Set to NULL if TYPE is SQL_TABLE_STAT. This value is 1 if only one column makes up an index.
|
COLUMN_NAME*
|
WVARCHAR
|
128
|
Column identifier; set to NULL if TYPE is SQL_TABLE_STAT.
|
OA_COLLATION
|
WVARCHAR
|
1
|
Collation sequence:
• A for ascending
• D for descending
• NULL if TYPE is SQL_STAT_TABLE or if no collation
|
OA_CARDINALITY
|
INTEGER
|
|
Cardinality of the table or index. Used by the OpenAccess SDK SQL engine to pick an optimal index if this is not a unique index.
• The number of rows in the table if TYPE is SQL_TABLE_STAT.
• The number of unique values in the index if TYPE is not SQL_TABLE_STAT; high cardinality indexes are preferred for query optimization.
• NULL if the value is not available from the data source.
|
OA_PAGES
|
INTEGER
|
|
Reserved for future use. The number of pages used to store the index or table.
• Number of pages for the table if TYPE is SQL_TABLE_STAT
• Number of pages for the index if TYPE is not SQL_TABLE_STAT.
• NULL if the value is not available from the data source, or if not applicable to the data source
|
FILTER_CONDITIONS
|
WVARCHAR
|
128
|
Leave blank to indicate NULL value.
|
To enable your IP to be accessed from Microsoft Access, you need all the columns indicated with *. Set the other columns to null.
|