首页
文章
活动
博客
图书
招聘
Search
登录
注册
从列字段中撷取部分数据
2012-06-28
郭艳军
从文本列中撷取部分数据
1.left("happyhappy",2);
从左边取2个字符;
结果为hu
2.rihht("happyhappy",2);
从右边取2个字符;
结果为yj
3.substrinh("happyhappy","h",2);取第2个"h"以前的数据(不保留第2个h)
结果为happy
0
该文章对我有帮助
370°
/
3706 人阅读
/
0 条评论
发表评论
请
登录
后发表评论
郭艳军
访客 16791
郭艳军
的其他博文
更多
[Err] 1093 - You can't specify target table 'user' for update in FROM clause
errorCode :1265 - Data truncated for column 'salary' at row 1
转载 Tomcat 常用优化和配置
错误:Invalid use of group function
转载 SQL 删除重复的记录
【转载】The TIME-WAIT state in TCP and Its Effect on Busy Servers
转载 "页面文件"的相关知识
Web前端性能优化的34条法则(转载自http://www.agilejoy.com/)
转载:关于ping
转载自百度百科 系统缓存