Blocking '0000-00-00' from MySQL Date Fields

前端 未结 7 1268
猫巷女王i
猫巷女王i 2020-12-10 05:35

I have a database where old code likes to insert \'0000-00-00\' in Date and DateTime columns instead of a real date. So I have the following two questions:

  1. Is
7条回答
提交回复
热议问题