Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
当您第一次将行插入表中时,IDENTITY 列将被分配值 1。对于每次后继的插入,该列的值都会递增 1。最近插入标识列的值可在 @@identity 全局变量中提供。