Dofactory.com
Dofactory.com
Earn income with your data and sql skills
Sign up and we'll send you the best freelance opportunities straight to your inbox.
We're building the largest freelancing marketplace for people like you.
By adding your name & email you agree to our terms, privacy and cookie policies.

SQL ATAN Function

The ATAN function returns the arc tangent of a value.

The value returned is an angle measured in radians.

Example

#

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

Syntax of the ATAN function.

ATAN(value)

value -- a number or column name.


You may also like



Last updated on Dec 21, 2023

Earn income with your data and sql skills
Sign up and we'll send you the best freelance opportunities straight to your inbox.
We're building the largest freelancing marketplace for people like you.
By adding your name & email you agree to our terms, privacy and cookie policies.