Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning PK from Insert Statement
Message
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Versions des environnements
Environment:
VB.NET 1.1
Database:
MS SQL Server
Divers
Thread ID:
01090504
Message ID:
01090736
Vues:
11
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform