Microsoft SQL ServerSCOPE_IDENTITY()

Syntax

  • SELECT SCOPE_IDENTITY();
  • SELECT SCOPE_IDENTITY() AS [SCOPE_IDENTITY];
  • SCOPE_IDENTITY()

Related Examples

Introduction with Simple Example