Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I can use SCOPE_IDENTITY() with INSTEAD OF INSERT on a v
Message
From
12/06/2003 09:03:54
 
 
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
00798811
Message ID:
00799314
Views:
40
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
Previous
Reply
Map
View

Click here to load this message in the networking platform