Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Does identity value genrator for col is locked in some cases.

$
0
0

http://msdn.microsoft.com/en-us/library/ms186775(v=sql.110).aspx

  • Each new value for a particular transaction is different from other concurrent transactions on the table.

q1) Does that mean i insert into the table from diffrent transactions even from other database.

like using db.dbo.table1

q2) Does that mean it locks some thing in "critical section" which gets new id for the identity col,

so that it will never clash.

yours sincerely


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>