Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3560

Programming • mysql: ERROR 1292 (22007): Incorrect date value: '0000-00-00'

$
0
0

Code:

mysql> UPDATE some_table SET some_date_column='2024-04-10' WHERE some_date_column='0000-00-00' ;ERROR 1292 (22007): Incorrect date value: '0000-00-00' for column 'some_date_column' at row 1
Server version: 8.0.26 MySQL Community Server - GPL

What is please optimal solution ?

Statistics: Posted by MakeTopSite — 2024-04-10 08:27 — Replies 0 — Views 15



Viewing all articles
Browse latest Browse all 3560

Trending Articles