I'm new to MySQL, and am wondering: Is it possible to make a table check attempted inserts against some sort of pattern match, and reject any inserts that fail to match the pattern, or must this checking all be done PHP / what-ever-server-side-language side?
I'm thinking specifically about confining an email
column in a user
table to only be able to contain email addresses using some sort of regex-like pattern matching.