How does the identifier column technically work in sql server?

In my search, a method for creating a unique series of series of numbers. I reviewed the identity column. I could not use it for my purpose, but this led to my current question;

How does the identifier technically work on the Sql server?

I am not looking for an answer on how to use it, I know that it increases the number per insert, leaving spaces when deleted. But I could not find documentation on how it generates it. Is this a table in sql server? Does it use row locking? Or some other castle? Is it a lock? How to prevent duplication of numbers?

+3
source share
1 answer

In these questions / articles there is useful information about the internal elements:

https://dba.stackexchange.com/questions/1635/why-are-denali-sequences-supposed-to-perform-better-than-identity-columns

http://www.sqlmag.com/article/sql-server/Sequences-Part-2-129205

SEQUENCE, SQL 2012, IDENTITY, . , , .

+3

All Articles