Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Schedule table
Message
De
02/07/2009 08:18:26
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
02/07/2009 08:07:47
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01409304
Message ID:
01409726
Vues:
44
>>>..... In any case the "child table" appointments would still have the date.
>>
>>Why?
>
>Oh, well, an alternative is to have a foreign key to the date table.

Yes but no.

If there is a Date table and a Appointment table and both have a Day file Appointment.Day could be called a FK anyway. (And this would be the real FK)

I think mean a surrogate index that uses integers.

And even that might not be used. If the appointments are single records with a start time + duration one would use DateTime and there is a date in it. So no need to store the Date to an extra field.

Agnes
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform