Answer the question
In order to leave comments, you need to log in
What does the number in brackets mean for type int?
I looked at the fields of the table with a query , in the Type column there are entries int (18) and bigint (20). What does the number in brackets mean here?
I am attaching a picture:SHOW COLUMNS FROM b_file
Answer the question
In order to leave comments, you need to log in
to this width in characters, the value will be left-padded with zeros when displayed in the console, provided the field has the zerofill attribute set.
those. 100 for int(18) will be displayed as 000000000000000100
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question