Humm, I have a stupid question.... How can you store a sign and part of a value into a single bit ?
>Bit 31 is the sign and bits 0 to 30 are the value. This is why the maximum negative value is one less than SQL Server. You get the numeric overflow because the negative value you're trying to insert is beyond the range of the data type. In SQL Server bit 31 is the sign and part of the value.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement