Unsigned integer data types

In: SQL Server


4 Dec 2008

I’m sure there are more posts like these to come, but I just wanted to get this out there. It’s been a small annoyance of mine that carried over from my MySQL days, but why aren’t there unsigned numerics in SQL Server?

Why do I have to waste a whole bit on the sign in IDENTITY columns, possibly causing me to choose a larger data type, doubling my storage requirements for that column from 4-byte INT to 8-byte BIGINT?

Can we get by with what we have now? Absolutely
Are there workarounds to emulate the behavior? Sorta
Would this be terribly difficult to implement? Doubtful

So whadyasay? Can we have native data type support for unsigned integers?

  • Share/Bookmark

Comment Form

  • Kurt Hitchen: A friend has let me "see" there calendar in Google Calendar, but because their calendar is set to pr [...]
  • bugoy8: https://www.google.com/calendar/dav/nba_13_%4cos+%41ngeles+%4cakers#sports@group.v.calendar.google.c [...]
  • Speaker: Wasn't able to understand how to access the shared folder in the quest OS from this tutorial. Hmmm [...]
  • Elena Kuznetsova: I have killed an hour to figure out how to sync Google contacts' birthday and I have this done! U [...]
  • Andy: I have been trying to figure this out forever.....Thank you ever so much!! [...]


This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States.