Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get the SQL server identity value before commit
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Get the SQL server identity value before commit
Miscellaneous
Thread ID:
00777706
Message ID:
00777706
Views:
74
Anyone know if it’s possible to get the value for an SQL server identify field before a transaction is completed.

Basically I want to add a record to a table, get its PK value which is assigned in SQL server. Then add to some other tables and if everything goes well, commit the transaction to all tables.

Thanks,
Chris
Next
Reply
Map
View

Click here to load this message in the networking platform