Error while inserting date - Incorrect date value:

前端 未结 7 1693
花落未央
花落未央 2020-12-09 08:31

I have a column called today and the type is DATE.

When I try to add the date in the format \'07-25-2012\' I get the following

相关标签:
7条回答
  • 2020-12-09 09:17

    I had a different cause for this error. I tried to insert a date without using quotes and received a strange error telling me I had tried to insert a date from 2003.

    Although I was already using the YYYY-MM-DD format, I forgot to add quotes around the date. Even though it is a date and not a string, quotes are still required.

    0 讨论(0)
提交回复
热议问题