Why does MySQL add numbers to parentheses () after design types?

Alibaba cloud Q & A 2022-02-13 05:13:11 阅读数:240

mysql add numbers parentheses design

Please elaborate .

Take the answer 1:

It doesn't make sense for most applications , It just specifies the number of characters that some tools use to display ;int(1) and int(20) Storage and computing are the same ;

copyright:author[Alibaba cloud Q & A],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130513102999.html