POWER Function - SQL Server to PostgreSQL Migration

SQL Server and PostgreSQL provide the POWER function that raises the number to the specified power.

SQL Server and PostgreSQL:

  -- Raise 2 to power 3
  SELECT POWER(2, 3);
  /* 8 */

For more information, see SQL Server to PostgreSQL Migration.