J
John Vinson
Well, I am certainly relieved to hear that it may not be necessary to change
the PK. The DHSNo is a unique field and there can be no duplicates (what a
nightmare that would be for the court clerk). The reason I went down this
bunny trail in the first place is that I guess I misunderstood some of the
posts below in response to my earlier post below entitled: Data
Normalization Dispute. Specifically, poster "Rolls" who says: " The
reason for not making the case number the PK is that this field HAS MEANING!
The instant that a key field has meaning becomes the instant that it should
NOT be a primary key." So do I assume that this is some sort of ongoing
debate between professionals?
Well, I certainly would disagree with Rolls on this point. If there is
a good natural key (such as a Case Number, or the two-letter
abbreviation of a state or province in a States lookup table, or the
like) - I'll use it, even though "ID" and "AK" in fact have meaning.
I haven't made any changes to my original db at this point. I was only
fooling with copies. From the little bit that I did, I quickly realized
that changing the PK at this point would be a nightmare and I do NOT want to
do it if it is not necessary.
Agreed.
Also, PC kept asking me if I analyzed the tables. What specifically am I
looking for? PC stated that I should do an analysis because of the
one-to-one relationships between a lot of the tables. But if I lump all the
tables together, I get a gigantic table with many, many fields. This was
the reason I split the data up into logical groups -Record requests,
Discovery Sent, Disovery Received, Hearing, Status, Tasks.
I'll browse through Cheryl's comments downthread (always eager to
learn something new!) but at first glance these are probably NOT
one-to-one relationships. Surely one case will have *many* Requests,
Discoveries, Hearings? How are these one-to-one child tables
structured? Do you still have repeating fields for Hearing1, Hearing2,
Hearing3 and the like? If so - you're storing a one to many
relationship in each record.
But I'll quit here and go read the rest of the thread...