mysql LOCATE函数
生活随笔
收集整理的這篇文章主要介紹了
mysql LOCATE函数
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
查看原文
locate(string,str,pos)
select * from test where locate('test',str,1);string在str出現的位置從pos開始 類似php中strpos函數
總結
以上是生活随笔為你收集整理的mysql LOCATE函数的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 关于typedef,指针数组和数组指针,
- 下一篇: linux下mkdir和windows下