I have a question about mysql data type.

Asked 2 years ago, Updated 2 years ago, 42 views

When specifying data types in mysql, what is the meaning of the numbers in brackets?

mysql

2022-09-22 20:23

1 Answers

int(4) int(11) varchar(100)

If you're talking about the numbers in parentheses for this data type, you can think of it as the size. The number in parentheses of type int is the length that is filled with zero when using zerofill.


2022-09-22 20:23

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.