Warning Code : 1264 Out of range value for column for datetime column value

StackOverflow https://stackoverflow.com/questions/13190726

  •  29-07-2021
  •  | 
  •  

문제

Here's my query:

UPDATE lynn_mis_goodsales SET accepteddate = '2011-02-30 13:24:50' WHERE created LIKE '0000-00-00 00:00:00'

The column value is datetime, and the error given is:

Warning Code : 1264
Out of range value for column 'accepteddate'

What can be the reason for this error when I use SQLYog?

도움이 되었습니까?

해결책

I could be wrong, but it looks like your date is February 30, which will cause an error since that date does not exist anywhere I'm aware of :)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top