Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Schedule table
Message
De
02/07/2009 08:23:42
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
02/07/2009 08:18:26
Lutz Scheffler (En ligne)
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
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:
01409727
Vues:
40
>>>>..... 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

Yes, of course. That is quite clear.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform