Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
When to assign unique key.
Message
From
08/11/1997 09:41:16
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
04/11/1997 17:02:18
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00058229
Message ID:
00059068
Views:
29
>does this. Another tip that has quickly become the 'right' way to do >things: all primary keys should be surrogate. That is, the ser should never >see them, and they should have no real world value. This solves the PK issue, but still there's lots of situations where natural key must be unique, and checked against the table before accepting user's input, or some other records in the table must be 'visited' for any other reasons. Since we've discovered lately that KeyMatch moves the record pointer and restores it (well, I thought it didn't, but I was wrong), someone (Barbara?) suggested that the solution may be to Use the table Again under another alias, and do all the locomotion in it, not leaving the record in the buffer. Now couple of things I'm curious to know, if someone has already tested them: - what's the speed of using again (network etc) - how do the (updatable) views behave in this case, can they be Used Again, and is there any significan overhead, or obstacles or whatever - if a view is used again, it probably doesn't contain records from the first Use's buffers, right? If these are no much problem, it seems to be the way to go.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform