Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WHEN CAN I USE PRIMARY KEY?
Message
From
08/05/1998 16:48:24
 
 
To
08/05/1998 16:45:37
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00098189
Message ID:
00098217
Views:
30
Customer home phone for a primary key is not a good idea. We tried that once. The trouble is that when the number is disconnected it is reassigned, so we ended up with more than one of the same "unique" key.

Generate a random number for unique key and have your code check to be sure that it's not already used.
Previous
Reply
Map
View

Click here to load this message in the networking platform