Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GETAUTOINCVALUE for sqlserver
Message
 
 
To
07/12/2009 10:45:25
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01437880
Message ID:
01437881
Views:
57
>Is there any equivalent function (GETAUTOINCVALUE) to get the autoinc value in MS SQL SERVER ?

Yes, see SCOPE_IDENTITY, IDENT_CURRENT, and @@IDENTITY in BOL.
The SCOPE_IDENTITY() usually works the best unless you have some special requirements.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform