theurbanpenguin.com
Enforce Data Integrity with sql_mode - The Urban Penguin
We have seen the default behaviour of MySQL where the server tries to help us by adjusting data that does not fit into a column until it is is acceptable. For example if trying to add the value of 255 to a signed TINYINT then MySQL will try to adjust the value to 127, the …