Firebird Documentation IndexFirebird 2.5 Language Ref. UpdateInternal functions → POWER()
Firebird Home Firebird Home Prev: POSITION()Firebird Documentation IndexUp: Internal functionsNext: RAND()

POWER()

Available in: DSQL, PSQL

Added in: 2.1

Description: Returns x to the y'th power.

Result type: DOUBLE PRECISION

Syntax: 

POWER (x, y)
  • If x negative, an error is raised.

Important

If the external function POWER is declared in your database as power instead of the default dPower, it will override the internal function. To make the internal function available, DROP or ALTER the external function (UDF).

Prev: POSITION()Firebird Documentation IndexUp: Internal functionsNext: RAND()
Firebird Documentation IndexFirebird 2.5 Language Ref. UpdateInternal functions → POWER()