Skip to main content

VSQL Types

General-purpose data types

Data Type (sql-2016)AliasesDescription
character varying [(n)]varchar [(n)], text [(n)]variable-length character string of n bytes: 1..65535, def. 255
binary varying [(n)]varbinary [(n)], bytes [(n)]variable-length binary data of n bytes: is 1..65535, def. 255
bigintint64signed eight-byte integer
integerint, int32signed four-byte integer
smallintint16signed two-byte integer
tinyintint8signed one-byte integer
realfloat, float32single precision floating-point number (4 bytes)
double precisionfloat64double precision floating-point number (8 bytes)
timestampdate and time (no time zone)
booleanboollogical Boolean (true/false)
binary large objectblobbinary data

Voedger-specific data types

Data Type (voedger)AliasesDescription
currencymoneycurrency amount, accurate to a ten-thousandth of the units
qualified nameqnamepackage and entity
recordrecord inherited from crecord/orecord/wrecord

Addressed issues