overflow
做项目的时候发现 select * from ArticleDb where title like '%xx(yy)%' 不能查询到对应记录,而 selct * from ArticleDb where title like 'xx' 或 select * from ArticleDb where title like 'yy' 却可以。 也就是说,带括号的模糊查询语句不能正确获取记录。不知道有什么合适的解决办法?
可以了,多谢
做项目的时候发现 select * from ArticleDb where title like '%xx(yy)%' 不能查询到对应记录,而 selct * from ArticleDb where title like 'xx' 或 select * from ArticleDb where title like 'yy' 却可以。 也就是说,带括号的模糊查询语句不能正确获取记录。不知道有什么合适的解决办法?
可以了,多谢