Loading lesson path
Concept visual
Start at both ends
Return 4 raised to the second power:
SELECT POWER(4, 2);The POWER() function returns the value of a number raised to the power of another number.
a, b )
Required. A number (the base) b Required. A number (the exponent)
SQL Server (starting with 2008), Azure SQL Database, Azure SQL Data Warehouse, Parallel Data Warehouse
Return 8 raised to the third power:
SELECT POWER(8, 3);❮ SQL Server Functions