Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

COT (SQL Server Compact)

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


COT ( float_expression )

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;
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft