Viewing post 1 (of 1 total)
The @@IDENTITY may be even easier. Here is the text from the help:
@@IDENTITY
Return Types
numeric
Remarks
After an INSERT, SELECT INTO, or bulk copy statement completes, @@IDENTITY contains the last identity value generated...
August 17, 2006 at 6:48 am
#655431