Re: Translating constraints to RM Terms
Date: Mon, 06 Jun 2005 11:41:32 +0100
Message-ID: <42a4285d$0$8719$ed2619ec_at_ptn-nntp-reader02.plus.net>
Marshall Spight wrote:
> But I think I must take exception to your claim that we are defining
> one domain in terms of another. And this rather gets to the heart
> of a question that's been buzzing around the back of my head
> for a year or two, namely: just what is the relationship between
> types and constraints?
>
> And I in fact have a tentative answer, which is that they are,
> respectively, the compile time and run time behavior of the
> variables. (Alternatively, the static and dynamic behavior
> of the variables.)
To go further, imagine a universal type that was a union of the set of every possible type you could want. You set every column to this type and then have column constraints to restrict each column to the values you want.
Maybe this would link in with the thread on NULLs in that your universal type would only need a single universal NULL?
Paul. Received on Mon Jun 06 2005 - 12:41:32 CEST