Looking for sql-server Answers? Try Ask4KnowledgeBase
Looking for sql-server Keywords? Try Ask4Keywords

Microsoft SQL ServerSCOPE_IDENTITY()


Syntax

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