Get started
Load & manage data
Work with data
Administration
Reference & resources
CLUSTER BY
mask
ROW FILTER
Atualizado 04/11/2024
Send us feedback
int
Applies to: Databricks SQL Databricks Runtime
Casts the value expr to INTEGER. This function is a synonym for CAST(expr AS INTEGER).
expr
CAST(expr AS INTEGER)
int(expr)
expr: Any expression which is castable to INTEGER.
An INTEGER.
> SELECT int(-5.6); -5 > SELECT int('5'); 5
cast function