company logo

built-in types

Built-in data types are data types, which are predefined in ODABA. ODABA provides built-in data types for different basic data types:

text types (for character data)

  • CHAR - character buffer (local 8 bit encoding)
  • STRING - 0-terminated string (local 8 bit encoding)
  • ASCII - 0-terminates ASCII character string
  • LATIN1 - 0-terminated string (latin1 8 bit encoding)
  • UTF8 - 0-terminated unicode string (UTF8 encoding)
  • UTF16 - 0-terminated unicode string (UTF16 encoding)
  • UTF32 - 0-terminated unicode string (UTF32 encoding)
  • CCHAR - coded character value

Numeric types:

  • REAL (double, float)- float point number
  • INT (int, int32, int16, int64, long, short, long long) - integer or decimal number
  • UINT (uint16, uint64, uint32) - unsigned integer or decimal number
  • BIT - bit string (for transient data, only)

Other types

  • LOGICAL (bool) - Boolean value
  • DATE - date value
  • TIME - time value
  • DATETIME - timestamp
  • BLOB - binary large value
Referenced in