| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Translating constraints to RM Terms
mAsterdam wrote:
> Kenneth Downs wrote: >
> > The constraint 'A < B' suggests to me that there is > 'something' of A in B or the other way round. In this > case it is easy to engage some isolation. > The base table (say W) should just contain A and C, C being a positive > number. X becomes a view with A = W.A and B = W.A + W.C > > That this isolation is possible in this example > should not be taken to mean that it is in all cases > you have in mind, though. > > My 2 Eurocents.
So are you suggesting the possibility that if A is contrained by B, then it is possible that B can be determined by A or by other column values? This would be exciting if it could be demonstrated in the general case.
But it does not seem to apply generally. Consider the case of credit limit and customer exposure. Credit limit is a normal column in the customer table. Exposure equals sum of open orders and invoices, and exposure may not exceed credit limit. Notwithstanding whether or not we materialize the column "exposure", it is defined as an attribute of the customer.
-- Kenneth Downs Secure Data Software, Inc. (Ken)nneth@(Sec)ure(Dat)a(.com)Received on Tue Jun 07 2005 - 09:28:22 CDT
![]() |
![]() |