Datatypes

All columns must have an associated datatype that indicates the acceptable input for that column.

The following table describes the datatypes that are used in OQL:
Table 1. Datatypes of OQL
Datatype Description
TEXT Holds plain text.
INT Holds integer values.
UINT Holds a 32-bit unsigned integer value.
FLOAT Holds decimal values.
LONG64 Holds a 64-bit numerical value.
ULONG64 Holds a 64-bit unsigned numerical value.
DATA Holds opaque data, typically of the binary format.
LIST TYPE datatype Holds a list of particular datatypes. The list is enclosed in square brackets, [].
OBJECT TYPE datatype Holds objects of particular datatypes. The object is enclosed in curly braces, {}. Objects hold a list of varbinds (name/value pairs).
TIME Holds information pertaining to time.