db2 9.1版本数据库INSERT函数

SQL语句:select HOST_UUID as coreErrorHostUuid,INSERT( HOST_UUID,22,1,1) as HOST_UUID from SD_HOST_TRAN_ERROR_LS。
错误信息:
DB2 SQL Error: SQLCODE=-440, SQLSTATE=42884, SQLERRMC=INSERT;FUNCTION, DRIVER=3.50.152
消息: No authorized routine named "INSERT" of type "FUNCTION" having compatible arguments was found.. SQLCODE=-440, SQLSTATE=42884, DRIVER=3.50.152 

更多例外 ... DB2 SQL Error: SQLCODE=-727, SQLSTATE=56098, SQLERRMC=2;-440;42884;INSERT|FUNCTION, DRIVER=3.50.152
参与6

5同行回答

zsj2002zsj2002数据库管理员澳門大豐銀行
升级吧9.1太老了,官方都不支持了。还有几个月连扩展支持都木有了。显示全部
升级吧9.1太老了,官方都不支持了。
还有几个月连扩展支持都木有了。收起
银行 · 2015-01-23
浏览1028
一诺万世一诺万世软件开发工程师北京中信科技
如果9.1版本的要用9.5的SQL语句,用什么语句替换这个函数?需要自定义函数么?显示全部
如果9.1版本的要用9.5的SQL语句,用什么语句替换这个函数?需要自定义函数么?收起
软件开发 · 2015-01-22
浏览1042
zsj2002zsj2002数据库管理员澳門大豐銀行
回复 1# 一诺万世     9.1没有,9.5才有这个函数Character-based processing for scalar functions supports variable character sizesVersion 9.5 contains new scalar functions that allow you to process your string data as a series of characters. You ...显示全部
回复 1# 一诺万世


    9.1没有,9.5才有这个函数

Character-based processing for scalar functions supports variable character sizes

Version 9.5 contains new scalar functions that allow you to process your string data as a series of characters. You do not need to be aware of the byte representation for each character.

Each character in Unicode is made up of 1 to 4 bytes. To accommodate the variable character size, the following functions are new character-sensitive versions of the SYSIBM schema and one additional parameter to indicate the string unit. If you use the default SQL path and do not specify the string unit, the new versions of these functions are called. This behavior is compatible with the behavior in previous releases, but there are some differences. To call the same function available in previous releases, explicitly qualify the function name with the SYSFUN schema.INSERTLEFTRIGHT

The OVERLAY scalar function, which is new for Version 9.5, also supports character-based processing.

收起
银行 · 2015-01-22
浏览1073
vincenthuangvincenthuang软件开发工程师atlasdata
SQL REFERENCE里面都没有,有的话还真是学习了显示全部
SQL REFERENCE里面都没有,有的话还真是学习了收起
软件开发 · 2015-01-22
浏览1005
HenrywangHenrywang技术经理北京泛鹏天地科技股份有限公司
恕我孤陋寡闻,我怎么不记得有insert函数的。。显示全部
恕我孤陋寡闻,我怎么不记得有insert函数的。。收起
软件开发 · 2015-01-22
浏览1093

提问者

一诺万世
软件开发工程师北京中信科技

相关问题

相关资料

相关文章

问题状态

  • 发布时间:2015-01-22
  • 关注会员:1 人
  • 问题浏览:8261
  • 最近回答:2015-01-23
  • X社区推广