ATN2() Examples in SQL Server

In SQL Server, the ATN2() function returns the arctangent between two values. Specifically, it 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.

You provide the values as arguments when calling the function.

Continue reading