cot

Description

Returns the cotangent of the specified angle.

Syntax

cot(angle)

Parameters

angle

is any approximate numeric (float, real, or double precision) column name, variable, or constant expression.

Examples

Example 1

select cot(90)

-------------------- 
           -0.501203

Usage

Standards

SQL92 – Compliance level: Transact-SQL extension.

Permissions

Any user can execute cot.

See also

Functions degrees, radians, sin