TagTypes

Difference Between Integer Types in MySQL and Their Max Values

D

In MySQL, there are 5 different integer types, and each type allows for different integer value sizes. In addition, each type can be signed or unsigned. If your value is always positive, then you can make your integer type unsigned. The following table shows the values that different integer types (signed/unsigned) can hold: Integer Type Start Value End Value TINYINT -128 127 TINYINT (Unsigned) 0...

About Author

I've over 17 years of entrepreneurship experience, having built a tech company to be the top in the country, which was subsequently acquired for an 8-figure sum. As CEO, I led the company through robust growth to 150 employees across 4 countries. After the acquisition, I embraced minimalism, sold off my personal possessions, and started living around the world.

Read more about my story here.