Skip to main content
Each data type has an associated literal constant syntax, which can be used, for instance, to insert constant data values into those columns.

Numeric Constants

Integer and floating point data types can be either single-quoted or not.
Numeric Constants Example

String-Based Constants

String-based data types should be single-quoted.
String-Based Constants Example

Binary Constants

Binary types can be represented in either of the following forms:
  • single-quoted or unquoted base-10
  • single-quoted hexadecimal
Binary Constants Example

Date/Time Constants

Kinetica accepts unqualified single-quoted date/time values, ANSI SQL, and ODBC escape sequences in the following formats:
Native Date/Time Constants Example
ANSI Date/Time Constants Example
ODBC Date/Time Constants Example