Events
Mar 31, 11 PM - Apr 2, 11 PM
The biggest SQL, Fabric and Power BI learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Applies to:
SQL Server
Azure SQL Database
Azure SQL Managed Instance
Azure Synapse Analytics
Analytics Platform System (PDW)
SQL analytics endpoint in Microsoft Fabric
Warehouse in Microsoft Fabric
A mathematical function that returns the trigonometric cotangent of the specified angle - in radians - in the specified float expression.
Transact-SQL syntax conventions
COT ( float_expression )
float_expression
An expression of type float, or of a type that can implicitly convert to float.
float
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)
Events
Mar 31, 11 PM - Apr 2, 11 PM
The biggest SQL, Fabric and Power BI learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register today