Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SmallInt vs numeric
Message
De
05/07/2011 21:51:51
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01517359
Message ID:
01517366
Vues:
56
>>>>>Hi,
>>>>>
>>>>>If you need to have a column that will store values from 0 to 5 (maybe 10 at the most) what is a better type: Smallint or Numeric(1,0)?
>>>>>
>>>>>TIA.
>>>>
>>>>Tinyint.
>>>
>>>Excellent. Thank you.
>>
>>MinisculeInt might also be a good fit.
>
>That would be a tinyint bit too small though.

A tinyint bit? Shit!
Very fitting: http://xkcd.com/386/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform