MS SQL Server Last Inserted ID

后端 未结 7 975
一个人的身影
一个人的身影 2020-12-11 03:16

In my database all tables are using a common table for Sequence(ID_Table).

TABLE_ID has two fields (Common_ID, Table_Name).

If I insert any record in the tab

相关标签:
7条回答
  • 2020-12-11 04:18

    For MySql use select LAST_INSERT_ID();

    0 讨论(0)
提交回复
热议问题