Sqlite数据库字符串处理函数replace

时间:2014-10-20 17:14:49   收藏:0   阅读:205
Sqlite 字符串处理函数replace官方说明
replace(X,Y,Z) The replace(X,Y,Z) function returns a string formed by substituting string Z for every occurrence of string Y in string X. The BINARY collating sequence is used for comparisons. If Y is an empty string then return X unchanged. If Z is not initially a string, it is cast to a UTF-8 string prior to processing.
x:要处理的字符串
y:被替换的字符串
z:替换后的字符串
有图有真相
bubuko.com,布布扣
参考:
Sqlitereplace官方说明
CSDN Sqlite3中replace语句用法详解
Cnblogs.com 在Sqlite中通过Replace来实现插入和更新




来自为知笔记(Wiz)


评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!