Training
Module
Convert data types using casting and conversion techniques in C# - Training
Explore using C# techniques for casts and conversions.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
::
(colon colon sign) operatorApplies to: Databricks SQL
Databricks Runtime
Casts the value expr
to the target data type type
. This operator is a synonym for cast
function.
expr :: type
expr
: Any castable expression.The result is type type
.
> SELECT '20'::INTEGER;
20
> SELECT typeof(NULL::STRING);
string
Training
Module
Convert data types using casting and conversion techniques in C# - Training
Explore using C# techniques for casts and conversions.