Re: normalization question and one to one relations



giladp1@xxxxxxxxx wrote:
Thanks so much to all the replies.
I feel better now to leave things as they are without adding extra
tables.

Rick, thanks greatly for taking the time to answer me.
As for your first reason, you didn't say why half a dozen or more
fields that belong to an identified subject would likely push you to a
second table. Is it a performance issue for example?

Nope. Having a table with 15 fields where 10 of them are mostly empty just
doesn't (to me) look like a table that properly models the real world entity
that the table should represent. It's not a black and white issue though.
Much would depend on what the tables held, how the data was used, etc..

As for your second comment, I saw the same situation in another big
organization a couple of years ago. A university actualy. they told me
they spent millions and ten years listing contstraints in their
database, and were afraid to implement new technology for fear that
all this investment will be lost. I don't realy understand that. isn't
listing a contsraint in SQL Server a matter of a couple of seconds? If
all the logic is already there you only need to translate it to the
new technology, why not move on to SQL Server or to Oracle?

I can't speak to that concern, but on the surface I agree that it sounds
like a weak reason to resist change. The legacy system I am talking about
uses "tables" in a relational database (UDB400), but it doesn't use them as
proper relational tables. They are used as "files" would have been under
older main frame type systems. The programs (Mostly RPG) that use these
tables do not (generally) use SQL or any other traditional database access
mechanisms and all objects are very highly interdependent on each other
right down to the "last design change".

For example, objects on the system have a "level" value that is a number
assigned when it is compiled and all RPG programs perform a "level check"
when executed. Any object that has been altered since the program was
compiled will cause the program to fail until it is recompiled. Of course
recompiling that program changes its level triggering a domino affect of
programs and other objects that all have to be identified and recompiled
before the system runs again. Changes can be done of course and they are,
but only with a lot more trouble, time, and expense, so they are not taken
as lightly as they would be in a more database-oriented system like we are
used to.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com




.



Relevant Pages

  • Re: MS Access DAO -> ADO.NET Migration
    ... William Vaughn ... Microsoft MVP ... Hitchhiker's Guide to Visual Studio and SQL Server ... My migration app works building a SSCE database file with imported data ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Cluster will not fail over.
    ... > As far as the TCP/IP issue goes, you had to rebuild the cluster and were ... > able to restore the master database. ... > a cluster installation you'll have to revisit. ... >> This worked bringing up the sql server in minimal mode. ...
    (microsoft.public.sqlserver.clustering)
  • Re: Word 2003/Access2000/SQLSVR
    ... SQL server being where the data is held and this is accessed through a MS ... entire database and that may be say a record for Berkshire. ... "Peter Jamieson" wrote: ... replaced with the first record on the table in use. ...
    (microsoft.public.word.mailmerge.fields)
  • Re: MS Access DAO -> ADO.NET Migration
    ... full SQL Server and I see the logic you explained in a multi user ... allow two users to access the same database file Read/Write at any given ... The book was a pleasure to read after the gibberish that Microsoft 'puts ... Hitchhiker's Guide to Visual Studio and SQL Server ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: MS Access DAO -> ADO.NET Migration
    ... For that it is much harder to handle the incremental identifier, ... database but although they have the data, they are not connected at the same ... The book was a pleasure to read after the gibberish that Microsoft 'puts ... SQL Server Management Studio is nowhere to be found on my ...
    (microsoft.public.dotnet.framework.adonet)

Loading