摘要:
IDENT_CURRENT、IDENTITY、SCOPE_IDENTITY区别概念解释IDENT_CURRENT returns the last identity value generated for a specific table in any session and any scope.IDENTITY returns the last identity value generated for any table in the current session, across all scopes.SCOPE_IDENTITY returns the last identity val 阅读全文