Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems With Primary Key Generation
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00827985
Message ID:
00827990
Vues:
15
This looks like a cache issue to me. Do you have write caching enabled on the hard drive controllers? Turn this off so that writes are not cached.

Good luck,

- Val Matison

>We've got some pretty tight primary key generation code in our program. We've got about 400 customers of various sizes using it with NO problems. ONE particular company (largest customer, uses a Citrix farm instead of individual workstations) keeps on getting duplicate primary keys. Sometimes the keys will SKIP over several before duplicating. For example:
>
>24210
>24211
>24212
>24210
>
>Or sometimes they'll be right next to each other. We are using VFP6 SP4 (Yea, we are working on going to 8). It SEEMS like it's one particular user that's creating most of the duplicates, but we can't tell for sure, and since it's a citrix farm, there hsouldn't be anything "different" about her PC. We think it may be some sort of cacheing problems.
>
>We are using free standing Foxpro tables, there isn't a database container. And yes, we are working on a SQL version of our program =)
>
>Has anyone else encountered a problem like this? Any thoughts/comments/solutions?
>
>Thanks,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform