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.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only