COT (SQL Server Compact)
Mathematic function that returns the trigonometric cotangent of the specified angle, in radians, in the given float expression.
Syntax
COT ( float_expression )
Arguments
- float_expression
An expression of data types that can be implicitly converted to float.
Return Value
float
Example
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;