Click here to Skip to main content
15,886,626 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello All,

How many columns in a table can be defined as Identity Specification property in SQL Server 2008.
Can anyone explain..?

Thank you All
Posted

1 solution

There is no restriction on number of identity columns in one table but how many unique keys you require in a single table? The identity columns could be assignd a different value by providing a different seed for every field in the same table. Please refer the following link to understand about identity columns..

http://www.sqlteam.com/article/understanding-identity-columns
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900