【发布时间】:2018-05-26 03:15:35
【问题描述】:
我有一个 longblob 列,它存储一些记录的文本数据和其他记录的二进制数据。我的数据库设置为不区分大小写。有没有办法写这样的选择
select * from myTable where blobCol like '%example%'
顺便说一句,结果在哪里包含“EXAMPLE”以及“example”文本?
【问题讨论】:
-
所以你可以试试
select * from myTable where blobCol like '%example%' or blobCol='example'
标签: mysql select blob case-insensitive