TechNet
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize
The document is archived and information here might be outdated

SQRT (SQL Server Compact Edition)

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:
© 2016 Microsoft