首页 > 数据库 > 数据库开发技术 > DB2_更新SQL字段
从函数的的dual 表信息查询信息
DB2中类似Oracle的dual表的写法
2.更改替换对应字段:
select replace('avcd','a','n')
from sysibm.dual d
==>替换为:
select replace(PROTOCOL_NAME,'Connector','XML_接入协议')
三。参考资料:
https://www.cnblogs.com/greenZ/articles/6512067.html
db2 :参考文档:
https://www.ibm.com/docs/zh/db2/11.1?topic=functions-replace-function
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/69949806/viewspace-2790351/ ,如需转载,请注明出处,否则将追究法律责任。