Click here to Skip to main content
15,887,405 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hey, I am designing a table in sql server, into that i am little bit confuse for
which data type should i use for primary key column (integer / unique-identifier).In these primary key property are auto incremented.
Posted

Hi,

Check this...


http://sqlmag.com/database-administration/sql-design-how-choose-primary-key[^]

I personally prefer
SQL
int / Bigint
for Primary Key.

Hope this will help you.

Cheers
 
Share this answer
 
 
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