Data Types
AMSelect query expressions use the following scalar data types.
Name |
Description |
Example |
|---|---|---|
|
A Boolean value, either |
|
|
An 8-byte signed integer in the range -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807. |
|
|
A UTF-8-encoded variable-length string. |
|
|
An 8-byte floating point number. |
|
|
A base-10 number with precision and scale. |
|
|
Timestamps represent a specific moment in time and always include a local offset. |
|
Literals
String literals are enclosed in single quotes.
Numeric literals without a decimal point are integers.
Numeric literals with a decimal point are decimals.
TRUE and FALSE are Boolean literals.
NULL represents a missing SQL value.