Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Is there a better way to do this?
Risking a lynching from the data normalization crowd,
you could create and maintain a summary field on the master
table. You could use triggers to manage the summary based upon
activity on the detail table (insert, update, delete). Just update the
total based upon the change caused by the individual update.
This could save you an enormous amount of churn on your database,
but it is built upon a number of assumptions.
Patrick Suppes
psuppes_at_lucent.com
Johnson Chao wrote:
> Hello, :
> I have made a Master-detail relation for my two blocks for
> two tables ztable1 and ztable2:
> ...
> . Does anybody
> know if there is a better way to do it?
>
> thanks in advance.
>
> --
> Johnson Chao
> ctc Japan
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Received on Mon Apr 19 1999 - 13:49:13 CDT
![]() |
![]() |