MySQL Forums
Forum List  »  Newbie

Re: Insert to field accepted although adjusted
Posted by: Peter Brawley
Date: December 02, 2017 11:02AM

As you can read at https://dev.mysql.com/doc/refman/5.7/en/out-of-range-and-overflow.html:

"If strict SQL mode is enabled, MySQL rejects the out-of-range value with an error, and the insert fails, in accordance with the SQL standard.

"If no restrictive modes are enabled, MySQL clips the value to the appropriate endpoint of the column data type range and stores the resulting value instead."

Options: ReplyQuote


Subject
Written By
Posted
Re: Insert to field accepted although adjusted
December 02, 2017 11:02AM


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.