Conversion Functions
This page contains the explicit conversion functions supported by e6data.
CAST FUNCTION
CAST( <expr> as <target datatype> )
cast('2022-01-11' as date)Source(Row) Target(Column)
varchar
integer/int
bigint
float
double
boolean
date
timestamp
TRY CAST FUNCTION
TRY_CAST( <input datatype> , <output datatype> )
FORMAT( <format_string>, <value>)
TO_TIMESTAMP( <value>, <format_string>)
TO_TIMESTAMP_TZ( <value>, <format_string>)
Last updated
