Stats

40 Contributors: 1 Tuesday, August 9, 2016
Licensed under: CC-BY-SA
Not affiliated with Stack Overflow
Rip Tutorial: riptutorial@gmail.com
Roadmap: roadmap

SCOPE_IDENTITY()

Syntax

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

Related Examples