KI_DESCRIBE_SCHEMA

Describe table schema

Synopsis:
CALL KI_DESCRIBE_SCHEMA handle, SYM(buf$), mode TO status
status = 'ki_describe_schema( handle, SYM(buf$), mode )
ArgumentEnumerationPurpose
handleHandle
SYM(buf$)Symbol of buffer
modeMode
statusKDB_ERROR_ENUMReturn status
>KI_DESCRIBE_SCHEMA

KI_DESCRIBE_SCHEMA

Returns the CREATE TABLE statement originally used to create the table currently open on handle in ASCII format.

The mode parameter is reserved and must be zero.

If the supplied buffer is not large enough to hold the schema, the buffer is re-sized to fit.

History
Introduced in KCML 6.00
See Also:
KI_DESCRIBE_KEY, KI_EXTEND, KI_GET_COL_LIST, KI_SET_WLOCK_COUNT, KI_WMODE_BITMAP
KCML database status codes