3 posts about IdentCurrent by 3 contributors.
Know IdentCurrent? Share what you know with developers who are learning it.
This article will show the differences among scope_identity (), @@identity and ident_current.
In this article, I am explaining how to get the last inserted identity value of an auto-increment column of database tables using SQL Server variable (@@IDENITY) and functions (SCOPE_IDENTITY() and IDENT_CURRENT()). Both @@IDENTITY and SCOPE_IDENTITY() return the last identity value that is produced in a single session; in other words, a connection while IDENT_CURRENT() returns the last identity value according to the table for any session.
This article explains @@Identity, Scope_Identity() & Ident_Current('Table_Name') in SQL.
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterPublish an article in this category and earn +1,000 SHARP when it is approved.
Write an article