mysql - using BIT as INT for storage volume efficiency -
If I understand correctly, then Do I correct that code is different from If I type BIT is extremely disk efficient for my case , I know that I have only three values which I would like to do, like INT s: 1 , 2 ; 3 . b'00 ' 3 and b' 0 1 ? INT values to INSERT VALUE S and SELECT WHERE < / Code> s, will the mails be automatically added to those questions as BIT s?
enter
in t (beet) values (b'11 '); / * 3 = 2 ^ 1 + 2 ^ 0 * / Insert t (bits) value (b'10 '); Insert / * 2 = 2 ^ 1 * / T (beet) values (b '1');
Comments
Post a Comment