Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What's with the Pack command?
Message
 
To
28/09/1999 11:11:26
Bruno Di Lalla
Bdl Computer Consulting
Greely, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00269678
Message ID:
00269962
Views:
26
Bruno,

Your situation does not preclude the use of a surrogate key at all. As a matter of fact, if you had a cirtuit table and created a new record init for the new order, used the surrogate PK for all related tables, then when the circuitID became available you would only need to update the circuit table with the ID. Since no other tables actually contain that value there is no need to touch them.

As well as the advantages of using surrogate PKs, there is a considerable value is being consistent with all table designs. For me, no matter what every table has a surrogate PK. All natural keys are relagated to candidates.
Previous
Reply
Map
View

Click here to load this message in the networking platform