Other DB - auto incremented field

LucaMs

Expert
Licensed User
Longtime User
What if my users who have an identifier field set as auto increment become more than 2,147,483,647?


[In the meantime I am thinking of changing that identifier to text field generated by my project, I think it is better]
 

TILogistic

Expert
Licensed User
Longtime User
MYSQL.

TINYINT - 127
UNSIGNED TINYINT - 255
SMALLINT - 32767
UNSIGNED SMALLINT - 65535
MEDIUMINT - 8388607
UNSIGNED MEDIUMINT - 16777215
INT - 2147483647
UNSIGNED INT - 4294967295
BIGINT - 9223372036854775807
UNSIGNED BIGINT - 18446744073709551615
 
Upvote 0

LucaMs

Expert
Licensed User
Longtime User
I know how to reset that field, thank you, but I have to do by code (in my project):
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…