1、创建数据库的时候,报42704错误。如:
2、在连接数据的时候,报57017错误。如:
3、在对数据库进行操作的时候,报55039错误。如:
- =>create?database?test ??
- =>SQL0204N??"SYSTEM_1386_US"?is?an?undefined?name.??SQLSTATE=42704??
=>create database test =>SQL0204N "SYSTEM_1386_US" is an undefined name. SQLSTATE=42704解决办法:
- =>create?database?test?using?codeset?gbk?territory?cn??
=>create database test using codeset gbk territory cn
2、在连接数据的时候,报57017错误。如:
- =>connect?to?test?user?test?using?test ??
- =>SQL0332N??Character?conversion?from?the?source?code?page?"1386"?to?the?target?code?page?"819"?is?not?supported.?SQLSTATE=57017??
=>connect to test user test using test =>SQL0332N Character conversion from the source code page "1386" to the target code page "819" is not supported. SQLSTATE=57017解决办法:
- =>db2set?db2codepage=1386??
=>db2set db2codepage=1386
3、在对数据库进行操作的时候,报55039错误。如: