Workarounds for absence of CHECK CONSTRAINT
from the Artful MySQL Tips List
One workaround is to
use an updateable view as a constraint
.
Another is to raise an "artifical" error (
http://blogs.sun.com/svetasmirnova/entry/how_to_raise_error_in
):
Return to
the Artful MySQL Tips page