NO_ZERO_IN_DATE
This page is part of MariaDB's Documentation.
The parent of this page is: SQL Modes
Topics on this page:
Overview
This mode prohibits the DATE data type from having a non-zero value for the year component when the date does have zero values for the month or day components. For example, '0000-00-000' would be allowed, but '2020-01-00', '2020-00-01', and '2020-00-00' would be prohibited.