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

Home -> Community -> Usenet -> comp.databases.theory -> Re: 3NF question

Re: 3NF question

From: vldm10 <vldm10_at_yahoo.com>
Date: 12 Jan 2005 18:35:12 -0800
Message-ID: <1105583712.271624.72980@c13g2000cwb.googlegroups.com>

-CELKO- wrote:
> >> I'm not sure what the answer is to the whole naming question, but
> can't the column name "id" be interpreted in the context of the name
of
> the table in which it appears? <<
>
> The context it appears in is the whole schema, not a table. You do
> have a data dictionary, don't you? And it applies to the whole data
> model, right? You are confusing Cobol file declarations with RDBMS
> table declarations.
>
> If an "employee_salary" is logical different from other salaries,then
> it needs that name. It is not, then you might have "salary_amt" ,
> "salary_grade", etc. that give the attributes of that entity in your
> model.
>
> The rule for identifiers is:
> 1) Use the industry standard if you have one
> 2) Look for a natural key if you have one
> 3) carefully define your own key (check digits, vlaidation rules,
etc.)
> only if you must.

Can you please give us an example of User/Log from this "3NF question", close to a real life situation so that we can evaluate it. Vladimir Odrljin Received on Wed Jan 12 2005 - 20:35:12 CST

Original text of this message

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