3
Answers

SQL PUZZLE WITH Date Function

Sai Reddy

Sai Reddy

6y
669
1
Hi,
 
I found the following query some where in the google .
 
SELECT YEAR(35000/20) AS YEAR_VALUE----> Output = 1904
 
As you can see that 35000/20 is not a valid date value. The matter of the fact 35000/20 is results in value 1750.
Answers (3)