Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning PK from Insert Statement
Message
General information
Forum:
ASP.NET
Category:
Databases
Environment versions
Environment:
VB.NET 1.1
Database:
MS SQL Server
Miscellaneous
Thread ID:
01090504
Message ID:
01090736
Views:
12
>Hi Doru,
>
>Scope_Identity() is a function. You can alias it as 'Scope_Identity'.

Hi Vlad,
Where/when/how do you alias the function?
I actually thought you could to build the INSERT string in VFP, execute with SQLEXEC() and return the PK as a value into a variable, NOT into a cursor. I guess a cursor is OK, but it would be nice if there was an option return PK from the INSERT instead instead the number of rows.
Doru
Previous
Reply
Map
View

Click here to load this message in the networking platform