Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Solving the SQL Server Identity datatype problem
Message
From
20/07/1999 08:51:30
 
 
To
20/07/1999 00:29:53
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00243423
Message ID:
00243529
Views:
23
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform