阅读背景:

如何在连接级别以正确格式(CCSID 37)转换IBM DB2十六进制数据,而不使用CAST函数

来源:互联网 

In my application I am having IBM DB2 database as storage and my data service layer has been implemented using Node.js. I have established JDBC connection to IBM DB2 iSeries database by DataDirect approach given by Progress using db2.jar. When I execute any select query the result returned from DB is a hexadecimal value not a proper what I want. To solve this problem I have an option to use CAST function at query level with each column, but this is not so efficient as I have to apply this CAST in each column so I am trying to have a generic solution at connection level so that I do not have to apply this cast in each column just like "translate binary =true" in JTOpen.In my application I am having IBM DB2 database




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: