MySQL and Check Constraints

前端 未结 1 1031
不知归路
不知归路 2020-12-03 23:13

I have inherited an application that uses MySQL and that is used by a PHP front end. The guy that wrote this system has gone to some fairly convoluted lengths to ensure that

相关标签:
1条回答
  • 2020-12-03 23:52

    You can implement something similar to them with triggers, but MySQL itself doesn't support CHECK constraints. Don't worry though, it'll let you define them and just silently ignore them!

    0 讨论(0)
提交回复
热议问题