You are here: Re: Using Decimal as a Key « MsSQL Server « IT news, forums, messages
Re: Using Decimal as a Key

Posted by Roy Harvey on 07/11/06 19:19

I would expect bigint to be a slightly better choice than decimal. It
stores in 8 bytes, while a decimal of 10-19 digits takes up 9.

Roy Harvey
Beacon Falls, CT

On 11 Jul 2006 12:12:27 -0700, "rottytooth" <rottytooth@gmail.com>
wrote:

>Is there any disadvantages of using Decimal type as a primary key? If
>so, are there other data types that can hold large numbers (more than
>an int can hold: 13 digits or so) and perform better as a Key field?
>
>Thanks.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация