codelingUsing SCOPE_IDENTITY() to return the last identity value from an database insert in the SQL Server4812 reads