Re: [GENERAL] Check constraint and at least two rows

2015-11-03 Thread Adrian Klaver
On 11/03/2015 04:23 PM, Dane Foster wrote: On Tue, Nov 3, 2015 at 7:09 PM, David G. Johnston mailto:david.g.johns...@gmail.com>> wrote: On Tue, Nov 3, 2015 at 4:55 PM, Dane Foster mailto:studdu...@gmail.com>>wrote: Hello, I have a design/modelling puzzle/problem. I'm trying

Re: [GENERAL] Check constraint and at least two rows

2015-11-03 Thread Dane Foster
On Tue, Nov 3, 2015 at 7:09 PM, David G. Johnston < david.g.johns...@gmail.com> wrote: > On Tue, Nov 3, 2015 at 4:55 PM, Dane Foster wrote: > >> Hello, >> >> I have a design/modelling puzzle/problem. I'm trying to model a series of >> events. So I have two tables w/ a parent child relationship. T

Re: [GENERAL] Check constraint and at least two rows

2015-11-03 Thread David G. Johnston
On Tue, Nov 3, 2015 at 4:55 PM, Dane Foster wrote: > Hello, > > I have a design/modelling puzzle/problem. I'm trying to model a series of > events. So I have two tables w/ a parent child relationship. The child > table has the rule/constraint/etc that for every row in the parent table > there mus

[GENERAL] Check constraint and at least two rows

2015-11-03 Thread Dane Foster
Hello, I have a design/modelling puzzle/problem. I'm trying to model a series of events. So I have two tables w/ a parent child relationship. The child table has the rule/constraint/etc that for every row in the parent table there must be at least 2 rows in the child because a series must have at