Mega Code Archive

 
Categories / MSSQL Tutorial / Math Functions
 

DEGREES converts a float value, which represents an angle in radians, into the value of this angle in degrees

4> 5> SELECT DEGREES(PI()/4) 6> GO ------------------------                       45 (1 rows affected) 1> SELECT DEGREES(ACOS(0.5)) 2> GO ------------------------       60.000000000000007 (1 rows affected)