My Oracle Support Banner

Query Fails On Date Comparison "ERROR 1525 (HY000): Incorrect DATE value" (Doc ID 2536781.1)

Last updated on FEBRUARY 27, 2020

Applies to:

MySQL Server - Version 8.0 and later
Information in this document applies to any platform.


While previous MySQL versions did not return error on date comparisons, MySQL 8.0.16 (or later release) is failing as in this example:


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.