Another what I am sure is a very basic MySQL question.
Create Table MyTable
(
zip char(5) CHECK (zip = '11111')
);
Insert into MyTable
Select '99999';
SELECT * From MyTable; --results in '99999'
I restrict 'zip' to only the value '11111', but it lets me put in '99999' no problem. What am I missing?