Tinyint (1) blank? Tinyint (1) is used to represent the bool value. for this, I have a lot of points I don't understand. I would like to ask you if .1.int (M) doesn't mean it works with zerofill? Here there is no zerofill.2.zerofill (1), which indicates 19 numbers ranging from-9 to + 9. how is it related to bool? Tinyint (1) blank?
Tinyint (1) is used to represent the bool value,
I have many questions about this.
1. does int (M) mean that it works with zerofill? There is no zerofill.
2. zerofill (1) indicates a number ranging from-9 to + 9. how is it related to bool?
Share:
------ Solution --------------------
In the manual
· TINYINT [(M)] [UNSIGNED] [ZEROFILL]
A small integer. The signed range is-128 to 127. The unsigned range is 0 to 255.
· BOOL, BOOLEAN
Is a synonym for TINYINT (1. The zero value is considered false. The non-zero value is true.