Parameter
|
Type
|
Description
|
IN
|
||
hstmt
|
DAM_HSTMT
|
The statement handle.
|
iSchemaType
|
int
|
The type of schema information requested. All types are returned as a DAM_OBJ type which should be cast to the requested type.
DAMOBJ_TYPE_TABLE - return a list with a single entry for a table to be created or dropped. Each entry is of type damobj_table.
DAMOBJ_TYPE_COLUMN - return a list with an entry for each column to be created. Each entry is of type damobj_column.
DAMOBJ_TYPE_STAT - return a list with an entry for each index column to be created by a CREATE INDEX statement or one entry for the index to be dropped. Each entry is of type damobj_stat.
DAMOBJ_TYPE_FKEY - return a list with an entry for each foreign key relationship. Each entry is of type damobj_fkey.
|
RETURN
|
||
DAM_OBJ_LIST
|
A list of requested schema types. NULL if no objects of that type exist.
|