you're right, it does seem to allow the value '0001-00-00' to be entered
however, notice the actual wording in the documentation:
Quote:
|
Originally Posted by da Manual
For the DATETIME and DATE range descriptions, “supported” means that although earlier values might work, there is no guarantee.
|
as for how to actually enforce the range, you're probably going to have to do this with application code, since mysql doesn't (yet) support CHECK constraints
what is the semantic meaning of your date? what actual range were you interested in enforcing?