POV-Ray : Newsgroups : povray.off-topic : Database question (for Gail? :-) : Re: Database question (for Gail? :-) Server Time
6 Sep 2024 21:22:54 EDT (-0400)
  Re: Database question (for Gail? :-)  
From: Gail
Date: 7 Oct 2008 16:07:47
Message: <48ebc193@news.povray.org>
"Darren New" <dne### [at] sanrrcom> wrote in message 
news:48eb04fa$1@news.povray.org...
> Say you're doing some accounting stuff, and you have different kinds of 
> accounts, but you want a table of movements of money between the accounts. 
> I'm trying to figure out how to get the details of having a single record 
> split over one of any of several different tables to be enforced by 
> constraints.

You'd probably need triggers. It's hard to enforce a 1-1 relationship 
without.

Depending how many columns are only applicable to one account type, I might 
take a short cut and put everything in one table. It does depend though.


Post a reply to this message

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