Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Primary Index
Message
From
10/12/1999 10:23:24
 
 
To
10/12/1999 09:14:34
Paul Frost
Instem Computer Systems Ltd
Stone, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00300125
Message ID:
00301698
Views:
48
>
>This might be simplistic & I'm probably missing some important point, but rather than add a new record & delete the original - could you not simply overwrite the original. That way the primary key remains unchanged & there's no need for surrogate keys.
>
>Please let me know why this idea is wrong - I profess to being a beginner at this & need to learn.
>
>Paul.


Still not a good idea. What happens if down the road you need to do an audit of somekind. What record was #456839? Potentially you could reuse the same ID many times. Now take that same ID and think about potential child records and you could have a real mess to clear up.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform