Get started
Load & manage data
Work with data
Administration
Reference & resources
Updated Mar 24, 2023
Send us feedback
pow
Applies to: Databricks SQL Databricks Runtime
Raises expr1 to the power of expr2.
expr1
expr2
pow(expr1, expr2)
expr1: An expression that evaluates to a numeric.
expr2: An expression that evaluates to a numeric.
A DOUBLE.
This function is a synonym for power function.
> SELECT pow(2, 3); 8.0
exp function
log function
log10 function
ln function
power function