Hi there, if you have a trigger INSTEAD OF INSERT, SCOPE_IDENTITY will always
be null cause of the scope of execution to solve that:
ISNULL(SCOPE_IDENTITY(), @@IDENTITY)
Original issue reported on code.google.com by KarlK...@gmail.com on 30 Sep 2011 at 10:06
Original issue reported on code.google.com by
KarlK...@gmail.com
on 30 Sep 2011 at 10:06