POWER (SQL Server Compact)
SQL Server 2008
Returns the value of the given expression to the specified power.
The following example raises the values in the SourceValues column of the Values table to the power of 3.
SELECT SourceValues, POWER(SourceValues, 3) AS Cube FROM Values ORDER BY SourceValues
This is the result set:
SourceValues.....................Cube -------------------------------- 1................................1 2................................8 3................................27 4................................64 5................................125 6................................216 7................................314 8................................512 9................................729
