为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。 【DM版本】: 【操作系统】: 【CPU】: 【问题描述】*:1.使用EfCore6执行查询,如何调用regexp_like, 2.regexp_like(text_field, '[\u4E00-\u9FA5]')执行结果不能过滤包含中文记录
--创建测试表 create table test_ch (a varchar(10)); --插入样本数据 insert into test_ch values('中国ddd'),('123'),('ddd'); commit; --正则表达式查询 select * from test_ch where regexp_like(a, '[\u4E00-\u9FA5]');
--创建测试表
create table test_ch (a varchar(10));
--插入样本数据
insert into test_ch values('中国ddd'),('123'),('ddd');
commit;
--正则表达式查询
select * from test_ch where regexp_like(a, '[\u4E00-\u9FA5]');