Conversion functions
Timestream supports the following conversion functions.
Topics
cast()
The syntax of the cast function to explicitly cast a value as a type is as follows.
cast(value AS type)
try_cast()
Timestream also supports the try_cast function that is similar to cast but returns null if cast fails. The syntax is as follows.
try_cast(value AS type)