Re: delete cascade
From: Bob Badour <bbadour_at_pei.sympatico.ca>
Date: Sun, 22 Apr 2007 12:47:35 GMT
Message-ID: <HPIWh.26898$PV3.278671_at_ursa-nb00s0.nbnet.nb.ca>
>
> Eg., the rva has an attribute that references the invoice# in the same
> relation that has the rva as an attribute.
>
> p
Date: Sun, 22 Apr 2007 12:47:35 GMT
Message-ID: <HPIWh.26898$PV3.278671_at_ursa-nb00s0.nbnet.nb.ca>
paul c wrote:
> paul c wrote:
>
>> Bob Badour wrote: >> >>> ... >>> More and more, I am liking "on delete" or "on update" less and less. >>> I suggest the appropriate place to handle the issue is in the view >>> specification. If one wants "on delete cascase", one can present a >>> view with the invoice items as an RVA. >>> ... >> >> That is intriguing about RVA's. Do you have in mind entwining the >> notion of an invoice transaction with a reference constraint by not >> assigning the rva until it is known (by some program) that all items >> have been inserted (into some table or other)?
>
> Eg., the rva has an attribute that references the invoice# in the same
> relation that has the rva as an attribute.
>
> p
Would it suffice to declare the view using the RVA as above and then project away the RVA? Received on Sun Apr 22 2007 - 14:47:35 CEST