新手求助
如何查询数据库记录时候检索字段数据不区分字母大小写?
作者: heshiwenxiang 发布时间: 2011-05-30
把结果转成大写(或小写),然后比较
例子:
create table t1(a text);
insert into t1 values('abcd');
select upper(a) b from t1 where b='ABCD';
例子:
create table t1(a text);
insert into t1 values('abcd');
select upper(a) b from t1 where b='ABCD';
作者: asdf2110 发布时间: 2011-05-31