Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Return identity value from newly inserted record
Message
De
04/10/2001 18:08:26
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Return identity value from newly inserted record
Divers
Thread ID:
00564540
Message ID:
00564540
Vues:
51
Is there an easy way to return a key value generated from a field incremented with identity right after an insert of a single record?
I've ben using " Select max(identity value) from table" right after an insert and wory about possible updates happening before I can get max() retuned.

Thanks
Jeff
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform