SQL ATAN Function

The ATAN function returns the arc tangent of a value.

The value returned is an angle measured in radians.



This example returns the arc tangent of the input values.

  SELECT ATAN(-45.01) AS '-45.01',
         ATAN(0) AS '0',
         ATAN(197.1099392) AS '197.1099392'
Result:  1 record
-45.01 0 197.1099392
-1.54858269620627 0 1.54858269620627


Syntax of the ATAN function.


value -- a number or column name.

You may also like

Last updated on Dec 21, 2023