經安全檢測,此網站為安全網站,請放心前往原始網址!

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

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 ...

stackoverflow.com

網址安全性掃描由 google 提供