pow function

Raises expr1 to the power of expr2.

Syntax

pow(expr1, expr2)

Arguments

  • expr1: An expression that evaluates to a numeric.

  • expr2: An expression that evaluates to a numeric.

Returns

A DOUBLE.

This function is a synonym for power function.

Examples

> SELECT pow(2, 3);
8.0