SQRT (SQL Server Compact)

Returns the square root of the given expression.


SQRT (float_expression )

float_expression

An expression whose type can be implicitly converted to float.

The following example returns the square root of the freight charges from the Orders table.

SELECT Freight, SQRT(Freight) AS "Square root of Freight"
FROM Orders
Show: