lundi 29 décembre 2014

MySQL is inserting "" as 0 in decimal fields. How to stop that?

The fields are nullable, so they do allow nulls.


Why would MySQL convert "" to 0 instead of NULL?


Is there a way to force it to be NULL instead?


Aucun commentaire:

Enregistrer un commentaire