Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: normalization

Re: normalization

From: Jared Still <jkstill_at_gmail.com>
Date: Tue, 1 Nov 2005 17:07:05 -0800
Message-ID: <bf46380511011707q3dbfc72r365087431e832e2c@mail.gmail.com>


Hi Stephen, comments inline:

On 11/1/05, stephen booth <stephenbooth.uk_at_gmail.com> wrote:

> Calculated fields are a breach of 3NF. But then, like most things in
> life, business applications don't always fit into nice mathematical
> models so every rule has to have an addendum something like "...unless
> there's a really good reason to do otherwise." I think it's important
> to be aware that you are breaching a rule and to spend some time
> thinking about the implications.

You make a good point in regards to 'thinking about the implications'

In real life though, it seems there are a lot of folks that have no idea what the implications are, and will not recognize the extra work created by those implications.

e.g. You might need a before update trigger to make sure that when any
> field that is used in a calculation is changed the fileds thaqt are
> calculated from that are recalculated. Actually you might be best to
> put the calculation in a trigger and make it a before insert or update
> if you can.
>

BEFORE UPDATE triggers have their own set of problems, and should be used judiciously. I'm sure many of us (me) have used them in the past more than they should have been.

http://tkyte.blogspot.com/2005/08/part-ii-seeing-restart.html http://tkyte.blogspot.com/2005/09/part-iii-why-is-restart-important-to.html

--
Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist

--
http://www.freelists.org/webpage/oracle-l
Received on Tue Nov 01 2005 - 19:09:10 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US