DaLiao

在查询前先执行这个语句 , 1 时区分大小写,0时不区分

 PRAGMA case_sensitive_like =0;

 

select prod_name,PROD_PRICE
from products
where prod_name like \'b%\' --  PRAGMA case_sensitive_like =0  匹配B和b开头的 ;=1时 仅匹配b开头的

 

https://www.experts-exchange.com/questions/28721719/SQLite-case-sensitive.html#answer40993344

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-08-23
  • 2022-12-23
  • 2021-10-02
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案