开发者

Db2: no available conversion for the source page

开发者 https://www.devze.com 2022-12-14 02:57 出处:网络
I\'m usind db2 8. Try to connect to the databas开发者_开发百科e (on the remotee computer, using vpn).

I'm usind db2 8. Try to connect to the databas开发者_开发百科e (on the remotee computer, using vpn). While connecting I have an error:

SQL0332N There is no available conversion for the source code page "1251" to the target code page "UNKNOWN". Reason Code "1". SQLSTATE=57017

I tried to set DISABLEUNICODE=1 in db2cli.ini, and aslo tried to set db2set DB2CODEPAGE=1251. But it did not help.

What shall I do in order to connect to the database?


thanks for reply

I resolve problem using set db2set DB2CODEPAGE=1252, as 1252 - is a code page for db I try to connect (1252 - USA; 1251 - cyrillic, was on my side)

0

精彩评论

暂无评论...
验证码 换一张
取 消