Calculate and return the cotangent of a specified number.
SELECT COT(6); |
The COT() function calculates the cotangent of a given number.
COT(number) |
Parameter |
Description |
number |
Required: A numerical value. |
Works in: |
Available in SQL Server from 2008 onward, as well as in Azure SQL Database, Azure SQL Data Warehouse, and Parallel Data Warehouse. |
Calculate and return the cotangent value corresponding to a given number.
SELECT COT(-2); |