Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I can use SCOPE_IDENTITY() with INSTEAD OF INSERT on a v
Message
De
12/06/2003 09:03:54
 
 
À
12/06/2003 08:31:34
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
00798811
Message ID:
00799314
Vues:
41
Hi Michael,

yes!

I have found the SQL internal problem of this issue.

- SCOPE_IDENTITY() is bind to the last INSERT on the current ambit, but this bind is relative to the ambit level of the stack calls;
when you have a INSTEAD OF INSERT on ambit level never insert si done, INSERT is done on the ambit of the INSTEAD OF INSERT trigger.

I send the solution to the SQL Team for resolve this issue.

Fabio
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform