@@IDENTITY, SCOPE_IDENTITY, and IDENT_CURRENT

@@IDENTITY, SCOPE_IDENTITY 和 IDENT_CURRENT都返回表的IDENTITY列的最後一個插入的值。session @@IDENTITY and SCOPE_IDENTITY return the last identity value generated in any table in the current session. However, SCOPE_IDE
相關文章
相關標籤/搜索