How to get the next identity value from SQL Server

后端 未结 5 647
悲哀的现实
悲哀的现实 2020-12-06 04:08

I need to get the next identity value from SQL Server.

I use this code :

SELECT IDENT_CURRENT(\'table_name\') + 1

This

5条回答
提交回复
热议问题