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

  • Yushe » Blog Archive » Conectar SQL Server con MySql: [...] Disclaimer: El árticulo arriba no es mio, es solo una traducción parcial del árticulo aqui [...]
  • Nick: Here is an extensive how to on sharing folders with Windows 7. http://www.ilertech.com/2010/09/shar [...]
  • dushyant kayarkar: I attempted to update my password on Ubuntu today and encountered a strange error. I thought I’d d [...]
  • Prakash - Savvysoft Technologies: USE master GO -- To use named parameters: Add linked server in the source (Local machine - eg: Mac [...]
  • Mike: Doh! The inprocess flag was killing me. Thanks. [...]


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