dm数据库插入数据错误
-- 创建数据表
drop table if exists tr_sex;
create table tr_sex(
stu_sex_code char(1),
stu_sex_name char(2)
);
insert into tr_sex(stu_sex_code,stu_sex_name) values ('1','男');
SQL 错误 [22000]: 列[STU_SEX_NAME]长度超出定义
怎么报错了呢,sql很明显没有问题! 盼回复!
文章
阅读量
获赞