MySQL Forums
Forum List  »  MySQL Shell

Re: Error Code: 1292. Incorrect datetime value: 'null'
Posted by: Kimseong Loh
Date: August 11, 2021 12:39AM

What is the data type of product_id?

The problem is product_id in ('3100022', 2000000360)
The first value has a string type and the second value is a number.
Therefore, a type conversion is required for one of them depending to the data type of product_id. I suspect this is a date or timestamp data type.

Options: ReplyQuote

Written By
Re: Error Code: 1292. Incorrect datetime value: 'null'
August 11, 2021 12:39AM

Sorry, you can't reply to this topic. It has been closed.

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.