COM Vuser Functions (LRC) > OLE Database Data Types

OLE Database Data Types

This table lists the constants to describe column data types in an OLE database.

For more information about OLE Database types, refer to Microsoft documentation. One source of information is the Microsoft documentation of the oledb.h header file.

Host Type
Description
DBTYPE_BYTES
Fixed-length binary data represented as an unsigned char array.
DBTYPE_DBDATE
The OLE DB DBDATE typedef struct as defined in the Oledb.h file.
DBTYPE_DBTIME
The OLE DB DBTIME typedef as defined in the Oledb.h file.
DBTYPE_DBTIMESTAMP
The OLE DB DBTIMESTAMP typedef struct as defined in the Oledb.h file.
DBTYPE_DECIMAL
The OLE DB DECIMAL typedef struct as defined in the Oledb.h file.
DBTYPE_I2
Integer data stored in 2 bytes (16 bits).
DBTYPE_I4
Integer data stored in 4 bytes (32 bits).
DBTYPE_NUMERIC
The OLE DB NUMERIC typedef struct as defined in the Oledb.h file.
DBTYPE_R4
Single precision IEEE floating-point data stored in 4 bytes (32 bits).
DBTYPE_R8
Double precision floating-point data stored in 8 bytes (64 bits).
DBTYPE_STR
Fixed and variable length character data.
DBTYPE_WSTR
Unicode string data.