Closed WolfgangFahl closed 3 years ago
There are invalid date entries:
select date from city_wikidata where
date>"2200-12-31"
or date<"1000-01-01"
order by date desc
date
b9
b8
b7
b6
b5
b4
b3
b2
b19
b17
b16
b15
b14
b13
b12
b11
b10
b1
b0
0700-01-01 00:00:00
0622-01-01 00:00:00
0216-01-01 00:00:00
0213-01-01 00:00:00
0200-01-01 00:00:00
0200-01-01 00:00:00
0200-01-01 00:00:00
0198-01-01 00:00:00
0017-10-29 00:00:00
0017-10-29 00:00:00
0017-10-29 00:00:00
0017-10-29 00:00:00
0017-10-29 00:00:00
0017-10-29 00:00:00
0017-10-29 00:00:00
0017-10-29 00:00:00
0017-10-29 00:00:00
0017-10-29 00:00:00
0017-10-29 00:00:00
0017-10-29 00:00:00
0002-01-01 00:00:00
0002-01-01 00:00:00
try work-around by fixing as:
update city_wikidata set date=null where
date>"2200-12-31"
or date<"1000-01-01"