I see three possible methods for implementing constraints:
One could attach a random record of any categorical variable in a separate table and have a foreign key pointing to this table whenever referenced. This can help keep the database cleaner and easier to maintain in many cases. Knowing that the "Status" attribute of your users is a numerical variable from 1 to 50, and not a string, which can be "MA", "ma", "Mass" or "Massachusetts", will certainly support your database administrators ( and developers and thus end users) are happy.
, , , , CHECK (MySQL ). , , .
, , -. , ( ..) , SQL.
, . , , (500 . ) (20 ) . , , , , .
, ENUM, , , , . , . SELECTS INSERT/UPDATE, , .