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

COT (SQL Server Compact Edition)

Mathematic function that returns the trigonometric cotangent of the specified angle, in radians, in the given float expression.

COT ( float_expression )


An expression of data types that can be implicitly converted to float.

The following example returns the cotangent of various angles.

CREATE TABLE Cotangent ("COT(1)" float, "COT(PI()/6)" float, "COT(PI()/4)" float, "COT(PI()/3)" float, "COT(PI()/2)" float)
INSERT INTO Cotangent VALUES (COT(1), COT(PI()/6), COT(PI()/4), COT(PI()/3), COT(PI()/2))
SELECT * FROM Cotangent
© 2016 Microsoft