KDB constants

>Database Constants

Database constants

These are constants commonly used with the KCML database routines.

Constant NameValueDescription
_KDB_MAX_TABLENAME_LEN35Maximum table name length
_KDB_MAX_KEY_LEN200Maximum key length
_KDB_MAX_INDEX18Maximum number of indices for a table
_KDB_MAX_KEY_COLS24Maximum number of columns per index
_KDB_MAX_WS_INDEX4Maximum number of WS indices for a table
_KDB_MAX_WS_KEY_COLS8Maximum number of WS columns per index
_KDB_MAX_HANDLES8192Maximum number of handles
_KDB_MAX_CONNECT8Maximum number of connections
_KDB_AUTO_HANDLE0Autoallocate a handle
_KDB_TEMP_HANDLE-1Autoallocate a temporary handle
_KDB_LEGACY_CONNECTION1Legacy connection handle
_KDB_FORCE_RETRY_TRANS255Connection attribute value to force all WHILE TRANS to retry
_KDB_BLOB_FOUND0k7af3000000000000Marker for non-NULL BLOB
_KDB_MAX_BLOB_COLS8Maximum number of BLOBs per row
_INVALID_TABLE_HANDLE0k7ae70000000f4240A non-zero table handle that does not represent any valid table handle - used in unit tests

Back to the list of Enumerations and Constants