0
Є відповідь

What is "check expression" (mysql -> table properties -> columns -> details -> check expression)? What should I use?

Henrique Cunha Moreira de Abre 6 років тому оновлено Rafał Strzaliński (Senior Engineer) 6 років тому 1
What data should I put inside the field "check expression"?
mysql -> table properties -> columns -> details -> check expression
+1
Є відповідь
Hi,

This is a place where you can put an expression (predicate) that will check if the value of the column is valid. You may think about it as a column validator. This is described here https://en.wikipedia.org/wiki/Check_constraint. Leave it empty if you don't want any check.