ERROR 1406 (22001): Data too long for column 'goods_name' at row 1
create table if not exists tdb_goods( goods_id smallint unsigned primary key auto_increment, goods_name varchar(400) not null, goods_cate varchar(40) not null, brand_name varchar(40) not null, goods_price decimal(15,3) unsigned not null default 0, is_show boolean not null default 1, is_saleoff boolean not null default 0 ); INSERT tdb_goods (goods_name,goods_cate,brand_name,goods_price,is_show,is_saleoff) VALUES('R510VC 15.6英寸笔记本','笔记本','华硕','3399',DEFAULT,DEFAULT);
真是奇怪了,为什么一直有这个问题呢?