Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I perform the atan2 function in T-SQL?

I need to execute the ATAN2 function in MS SQL Server. How do I do this?

T-SQL appears to have all the usual math functions like cos, sin, radians etc, just not ATAN2. What is the function for this?

Knowing how to do this in MySQL would be very useful as well, please?

like image 466
Matt W Avatar asked Sep 15 '14 12:09

Matt W


1 Answers

Ok, it's ATN2.

Dang.

Sorry folks.

like image 191
Matt W Avatar answered Sep 30 '22 20:09

Matt W