Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Solving the SQL Server Identity datatype problem
Message
De
20/07/1999 08:51:30
 
 
À
20/07/1999 00:29:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00243423
Message ID:
00243529
Vues:
27
John,

Good idea. Have you tried doing it with one connection? As long as you have a candidate key, you ought to be able to make two queries on the same connection - or even in the same SQLEXEC() call:

lcSQL = "INSERT INTO table VALUES (x,y,z); SELECT pk FROM table"
lnResult = SQLEXEC(hConn, lcSQL)

-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform