Here\'s a very simple question. I have an SP that inserts a row into a table and at the end there\'s the statement RETURN @@IDENTITY. What I can\'t seem to find is a way to
BTW, in most circumstances, you should use SCOPE_IDENTITY() rather than @@IDENTITY. Ref.