bugl
bugl
HomeLearnPatternsSearch
HomeLearnPatternsSearch

Loading lesson path

Learn/SQL/SQL References
SQL•SQL References

SQL Server ATAN() Function

Concept visual

SQL Server ATAN() Function

Pointer walk
two pointers
leftright102132436485116
left=0
right=6
1
3

Start at both ends

Example

Return the arc tangent of a number:

SELECT ATAN(2.5);

Definition and Usage

The ATAN() function returns the arc tangent of a number.

Syntax

Atan(

number )

Parameter Values

Parameter

Description number

Required. A numeric value

Technical Details

Works in:

SQL Server (starting with 2008), Azure SQL Database, Azure SQL Data Warehouse, Parallel Data Warehouse

More Examples

Example

Return the arc tangent of a number:

SELECT ATAN(-45.01);

Previous

❮ SQL Server Functions

Next

Previous

SQL Server ASIN() Function

Next

SQL Server ATN2() Function