ASA SQL Reference
SQL Functions
Alphabetical list of functions
Returns the arc-tangent, in radians, of the ratio of two numbers.
{ ATN2 | ATAN2 } ( numeric-expression1, numeric-expression2 )
numeric-expression1 The numerator in the ratio whose arc tangent is calculated.
numeric-expression2 The denominator in the ratio whose arc-tangent is calculated.
SQL/92 Vendor extension.
SQL/99 Vendor extension.
Sybase ATN2 is compatible with Adaptive Server Enterprise. ATAN2 is not supported by Adaptive Server Enterprise.
The following statement returns the value 0.008666.
SELECT ATAN2( 0.52, 060 )