方法 1、insert into TableName set column =‘‘;
方法 2、insert into TableName .... values(.....);
------------------------------------------------------------------------------------------------------------------------------------------
create table T(x bit(8));
方法 1、
insert into .....set ......
insert into T set x =b‘11111111‘;
方法 2、
insert into .... values(.....);
insert into T(x) values(b‘1111111‘);
-----------------------------------------------------------------------------------------------------------------------------------------
select x+0 as 整数 ,bin(x+0) as 二进制,hex(x+0) as 十六进制 from T;