在Oracle数据库中判断一个字符串内是否含有中文的SQL语句:
select * from t1 where length(c1) != lengthb(c1); |
在SQL Server数据库中判断一个字符串内是否含有中文的SQL语句:
select * from t1 where len(unicode(c1)) < 5; |
在Oracle数据库中判断一个字符串内是否含有中文的SQL语句:
select * from t1 where length(c1) != lengthb(c1); |
在SQL Server数据库中判断一个字符串内是否含有中文的SQL语句:
select * from t1 where len(unicode(c1)) < 5; |