mysql:在like子句中查找大写字母

时间:2014-05-21 08:31:58

标签: mysql

需要有关查找所有推荐列表的建议包含http://www.example.com/ 大写字母

等链接
select *  from testimonial3 where detail_text like '%http://www.example.com/Hind-global'
select *  from testimonial3 where detail_text like '%http://www.example.com/Apple'

1 个答案:

答案 0 :(得分:1)

SELECT *  FROM testimonial3 WHERE detail_text REGEXP BINARY 'http://www.example.com/[A-Z]{1}';