sql - Best way to get identity of inserted row? - Stack Overflow

sql - Best way to get identity of inserted row? - Stack Overflow

瀏覽:741
日期:2026-04-23
SCOPE_IDENTITY returns the last identity value generated for any table in the current session and the current scope. .... if you insert several rows with an INSERT-SELECT, you would ......看更多