|
|
"Darren New" <dne### [at] sanrrcom> wrote in message
news:48ec835d$1@news.povray.org...
> 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.
Oh lovely. Don't suppose you can port it to SQL Server? Express edition's
free.
Does MySQL enforce foreign keys yet?
Post a reply to this message
|
|