• It's the last ID generated for any session in any scope. So another session may have experienced a rollback or something else that caused it to generate an identity value and then not use it. For more details, see the entry in Books Online.

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning