Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Schedule table
Message
From
02/07/2009 08:18:26
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
02/07/2009 08:07:47
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01409304
Message ID:
01409726
Views:
45
>>>..... 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]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform