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 ( long , short , long long )- integer or decimal number
  • UINT - unsigned integer or decimal number
  • BIT - bit string (for transient data, only)

Other types

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

Related topics