Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

COT (Transact-SQL)

Applies to: 👁 Image
SQL Server 👁 Image
Azure SQL Database 👁 Image
Azure SQL Managed Instance 👁 Image
Azure Synapse Analytics 👁 Image
Analytics Platform System (PDW) 👁 Image
SQL analytics endpoint in Microsoft Fabric 👁 Image
Warehouse in Microsoft Fabric 👁 Image
SQL database in Microsoft Fabric

A mathematical function that returns the trigonometric cotangent of the specified angle - in radians - in the specified float expression.

👁 Image
Transact-SQL syntax conventions

Syntax

COT ( float_expression ) 

Arguments

float_expression
An expression of type float, or of a type that can implicitly convert to float.

Return types

float

Examples

This example returns the COT value for the specific angle:

DECLARE @angle FLOAT; 
SET @angle = 124.1332; 
SELECT 'The COT of the angle is: ' + CONVERT(VARCHAR, COT(@angle)); 
GO 

Here's the result set.

The COT of the angle is: -0.040312 
 
(1 row(s) affected) 

See also

Mathematical Functions (Transact-SQL)


Feedback

Was this page helpful?

Additional resources