Is it possible in sql server using stored procedure to return the identity column value in a table against which some values are inserted? For example using stored procedure
send an output parameter like
@newId int output
at the end use
select @newId = Scope_Identity() return @newId