Returns the cotangent of a number, expressed in radians.
Syntax
COT ( numeric-expression )
Parameters
Parameters
Parameter
Description
numeric-expression
The angle, in radians.
Returns
This function converts its argument to DOUBLE, performs the computation in double-precision floating point, and returns a DOUBLE as the result. If the parameter is NULL, the result is NULL.
Example
The following statement returns the value 1.74653:
SELECT COT( 0.52 ) FROM iq_dummy
Standards and Compatibility
SQL—Vendor
extension to ISO/ANSI SQL grammar.
Sybase—Compatible with Adaptive Server
Enterprise.