KDB KI_INFO handle status

>Database Constants

KI_INFO constants

These are enumerated constants used with the KI_INFO KDB database routines to determine how the information should be gathered especially on SQL databases where row counting is expensive. There are two types of option, an enumeration of the row counting modes and an independent serial number attribute which can be added.

DEF ENUM enumeration name KDB_HANDLE_STATUS

Enumeration ValueValueDescription
_KDB_STATUS_CLOSED0x1nothing open
_KDB_STATUS_OPENED0x2table open
_KDB_STATUS_PREPARED0x4SQL prepared
_KDB_STATUS_EXECUTED0x8result set exists
_KDB_STATUS_CTRL0x10flat file open
_KDB_STATUS_BU_OPENED0x20BU file open
_KDB_STATUS_SQL_FAILED0x40sql prepare failed
_KDB_STATUS_QUERY_SEQ0x80started OK on defquery
_KDB_STATUS_STARTED0x100KI_STARTed

Back to the list of Enumerations and Constants