Inserts now use SCOPE_IDENTITY() instead of @@IDENTITY, as the latter can be hijacked by triggers.