I specifically think of unsigned int .
Here's a practical example: what will you do when your personal column is maximized? You can either go BigInt (store 8 bytes instead of 4), or reorganize the application to support negative integers, and even create your own rules, as indicated in this answer ; none of these options are optimal.
UInt would be an ideal solution, but SQL Server does not offer it (where MySQL is running).
I understand that unsigned data types are not part of the SQL standard (SQL-2003), but they still seem like a waste to me.
What is the reason for not including them (in SQL Server or in the standard)?
sql sql-server unsigned-integer sqldatatypes
Romhein Dec 15 2018-10-15 15:57
source share