Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Return identity value from newly inserted record
Message
De
05/10/2001 11:57:54
 
 
À
05/10/2001 08:11:36
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00564540
Message ID:
00564842
Vues:
22
>Use SCOPE_IDENTITY() if you're using SQL Server 2000. @@IDENTITY can cause issues when dealing with nested INSERT triggers.
>
>-Mike

Right, and actually there are ways to fix that issue also.

http://www.sqlmag.com/Articles/Index.cfm?ArticleID=9736

BOb
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform