How do I auto increment the primary key in a SQL Server database table, I\'ve had a look through the forum but can\'t see how.
auto increment
primary key
SQL Server
Be carefull like if you want the ID elements to be contigius or not. As SQLSERVER ID can jump by 1000 .
Examle: before restart ID=11 after restart , you insert new row in the table, then the id will be 1012.