ATN2 (Transact-SQL)
SQL Server 2005
Returns the angle, in radians, between the positive x-axis and the ray from the origin to the point (y, x), where x and y are the values of the two specified float expressions.
Transact-SQL Syntax Conventions
- float_expression
-
Is an expression of the float data type.