盘绰网教程:是一个免费提供流行视频软件教程、在线学习分享的学习平台!

mysql 常用的3类函数

时间:2024/3/22作者:未知来源:盘绰网教程人气:


[摘要]+-----------------------+1 row in set (0.25 sec)6、locate(substring, string, [start_position]); //从s...

+-----------------------+
1 row in set (0.25 sec)

6、locate(substring, string, [start_position]); //从start_position出开始查找,返回substring在string中首次出现的位置。其功能与instr类似,不过注意string与substring的位置是不一样的。

mysql> select locate('leng', 'lengxueganglengxuegang', 4);
+---------------------------------------------+

关键词:  mysql  常用的3类函数





Copyright © 2012-2018 盘绰网教程(http://www.panchuo.com) .All Rights Reserved 网站地图 友情链接

免责声明:本站资源均来自互联网收集 如有侵犯到您利益的地方请及时联系管理删除,敬请见谅!

QQ:1006262270   邮箱:kfyvi376850063@126.com   手机版