per M$SQL è ok @@IDENTITY, anche se sarebbe preferibile SCOPE_IDENTITY.