Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Duplicate PK nos. allocated
Message
De
27/09/2006 06:58:55
Alan Harris-Reid
Baseline Data Services
Devon, Royaume Uni
 
 
À
25/09/2006 10:51:36
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
01156783
Message ID:
01157435
Vues:
26
Hi James, thanks for the reply.

>You need to wrap the process into a transaction and then update the counter first and get the PK value and then commit the update. I prefer to do this with a stored procedure that way you only have one call to the database to get the new value.

Looks like one of these methods is the way to go. I have code suggestions for both, which I will be trying-out soon.

Regards,
Alan
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform