mysql判断一个字符串是否包含某几个字符

使用locate(substr,str)函数,如果包含,返回>0的数,否则返回0 

 

posted on 2016-11-07 15:02  vijayfly  阅读(14176)  评论(0编辑  收藏  举报

导航