Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Return identity value from newly inserted record
Message
De
04/10/2001 22:17:57
 
 
À
04/10/2001 18:08:26
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00564540
Message ID:
00564597
Vues:
19
SELECT @@IDENTITY on the same connection.

BOb


>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform