This documentation is archived and is not being maintained.

@@IDENTITY (SQL Server Compact Edition)

Updated: 5 December 2005

Returns the last-inserted identity value.


SELECT @@IDENTITY
or
SELECT @@IDENTITY AS 'TEMPNAME'

numeric

Release

History

5 December 2005

Term

Definition

Changed content

  • Updated syntax

Show: