标签: sql-server
可能重复: How to Get Last Created Entry's ID From Sql Database With Asp.Net How to get last inserted id?
我很难在
selct scope identity(); SELECT * FROM Person ORDER BY PersonID DESC LIMIT 1