SELECT ACOS(31.552278760192)
when executed in MSSQL Server it returns some value but when executed in MYSQL it returns null.
Any kind of help is appreciated.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
From the fine manual:
So 31.552278760192 is out of range for MySQL’s
ACOS. In fact, the arccosine function doesn’t produce a real number as a result outside of[-1,1]andacos(31.552278760192)is ~4i.