Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Primary Key question
Message
 
À
23/12/1999 13:44:02
Walter Meester
HoogkarspelPays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00307005
Message ID:
00308116
Vues:
35
>example a persons table:
>
>Personid, firstname, lastname, adress, postalcode, city, dayofbirth, function, department, etc.
>
>when you want to track changes you would probabply add a date identifyier to mark from which data this data becomes current:
>
>(SomePk,) Date, Personid, firstname, lastname, adress, postalcode, city, dayofbirth, function, department, etc.
>
>If this person changes departments the attributes are copied into a new record
>with a new datestamp. Though the department has changed, it still contains the
>same values for the other attributes. Is this redundant data ? if so, how
>would you solve this ?

You have a person table, a department tables, and a person/department table which has the person key, department key, and date they started working there.
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform