Viewing post 1 (of 1 total)
Beware that if you call scope_identity before the insert you get an error.
"Select @@Scope_Identity" from a new connection in the Query Analyzer generates:
Server: Msg 137, Level 15, State 2, Line...
August 9, 2005 at 10:19 am
#580801