开发者

How can I use 'Check' statement to validate field value in mysql?

How can I use 'Check' statement开发者_开发百科 to validate field value in mysql?

look at this page, in the manual didn't discussed about check keyword

In MySql Workbench and Navicat for mysql, there is not exists any options to set constraints or check.


MySQL does not enforce CHECK constraints. It parses the check constraint clause, but silently ignores it. You'd have to use a trigger to validate data.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜