Just be careful with the CHECK constraint, I don't think you can get it to work.. You can check
here for the full details, but:
Quote:
|
Originally Posted by My SQL 6.0 Documentation
The CHECK clause is parsed but ignored by all storage engines
|
I've heard that there is an option that can be set to forewarn a user about syntax that MySQL will happily parse but never execute/enforce, but I can't find that option anywhere.
-PatP