Re: In STRICT&NO_ ZERO_ DATE mode,When processing the missing date field through load data, you can insert 0000-00-00:00?
Posted by: Peter Brawley
Date: June 29, 2021 07:56AM

In 8.0, attempting to insert without a datatime value and without a default value into that table with your sql_mode elicits ...

ERROR 1364 (HY000): Field 'birthday' doesn't have a default value

... so I can't reproduce the result you describe.

Options: ReplyQuote

Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.