Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 » SQL Anywhere Server - SQL Reference » Using SQL » SQL functions » SQL functions (A-D)


COT function [Numeric]

Returns the cotangent of the angle in radians given by its argument.

COT( numeric-expression )
  • numeric-expression   The angle, in radians.


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.

See also
Standards and compatibility
  • SQL/2003   Vendor extension.


The following statement returns the cotangent value of 0.52.

SELECT COT( 0.52 );