您好,欢迎来到点滴吧! 手机版
点滴吧www.diandiba.com
记录点点滴滴,尽在点滴吧
  • 文章
  • 文章
  • 特效
  • 素材
  • 景点
您现在的位置:首页 > SQL教程 > 文章正文
MySQL中用instr代替like
更新时间:2015/1/4 22:42:55   点击:3244次
select * from table where instr(字段,字符串) > 0

作用:查询字段中是否有字符串出现。


相关文章
导航分类
热门文章
关于我们| 联系我们| 免责声明| 网站地图|
CopyRight 2012-2015 www.diandiba.com - 点滴吧 All Rights Reserved
滇ICP备09005765号-2