Kamis, 02 Desember 2010

GUID Vs Int data type as primary key

Recently one of my friend ask me when I should go for GUID and When I should go for Int as primary key in table. So decided to write a blog post for it. Here are advantages and disadvantage of the GUID and INT. INT Data Type:Advantages:Its required small space in terms of the storage it will only allocates 4 bytes to store data.Insert and update performance will be faster then the GUID. It will

Tidak ada komentar:

Posting Komentar