如果不指定为Not NULL,就根本无法获取关键字。
例如:
create table t(field int(8),index(field));
select * from t where field = 1;
在解析select语句时,无法获得1,而写了Not NULL后就可以。这是怎么回事?
例如:
create table t(field int(8),index(field));
select * from t where field = 1;
在解析select语句时,无法获得1,而写了Not NULL后就可以。这是怎么回事?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货