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

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

瀏覽:927
日期:2025-12-15
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 ......看更多