SQL
SQL Server ATN2() Function
Return the arc tangent of two values: