POV-Ray : Newsgroups : povray.off-topic : Database question (for Gail? :-) : Re: Database question (for Gail? :-) Server Time
6 Sep 2024 21:22:18 EDT (-0400)
  Re: Database question (for Gail? :-)  
From: Gail
Date: 8 Oct 2008 10:20:01
Message: <48ecc191@news.povray.org>
"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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.