|
|
Gail wrote:
> ALTER TABLE Accounts ADD CONSTRAINT ck_AccountType CHECK (AccountType =
> 'CreditCard' AND exxpirationdate IS NOT NULL)
Ah. Very cool. Sadly, this is MySQL, which sucks, so altho it parses
check constraints, it doesn't actually enforce them. Welcome to the
wonderful world of toy RDBMs.
--
Darren New / San Diego, CA, USA (PST)
Post a reply to this message
|
|