Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Default unique ID values for a field in a remote table ?
Message
De
01/06/1998 14:01:52
 
 
À
01/06/1998 13:52:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00103696
Message ID:
00103706
Vues:
27
>It works the same way on SQL Server with the syntax difference (HOLDLOCK)
>*** Stored Procedure
>Begin tran
>Select @my_id=id from TSetup HOLDLOCK where code=55
>Update TSetup Set id=@my_id+1 where code=55
>Commit tran

Oh, but I don't have SQL-Server on the server ! (sigh)
Users will have access to the remote tables using remote views...
Sincerely,

Andrea Brajuka
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform