返回新插入的数据的主键ID

select @@scope_identity

原文地址:https://www.cnblogs.com/huanglexian/p/3593054.html