| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Field naming: Same name represents different data
BB,
Sure, I think that users understand the difference here, but that it
would be bad practice because there exist other options that are less
confusing. Instead of calling them all AGE, Why not call the domains
EmpAge, AccRcvAge, CheeseAge? In my experience, clarity is much more
valuable than typing time. Its not illegal, and its not wrong, but
database programming can be diffcult enough. When you plan out your
scope and schema for a DB, would you ever plan to have different
tables have the same variable names for non-key/foreign key domains?
There may be reasons for naming as described, but generally its easier
to work with a system with unique names, as in when doing a complex
join or creating a UML diagram.
Please let me know your thoughts.
Thanks, Greg
Bob Badour wrote:
> Why would it be bad practice to use the user's preferred terminology? Users > understand that the age of an employee is different from the age of a > receivable is different from the age of a block of cheese. Don't they? > > "- g r e g -" <gwarnick_at_fhcrc.org> wrote in message > news:3E5A58D7.6090200_at_fhcrc.org... >
![]() |
![]() |