informix dbimport抛出23103-由于非法序列或无效值,代码集转换功能失败

问题描述 投票:1回答:1

[当我尝试使用已经导出的命令dbexport -c <mydbname> <myDbspace>导入informix数据库时。我收到此错误:23103 - Code-set conversion function failed due to illegal sequence or invalid value.

我想知道这是否与我尝试导入的文本编码不兼容或类似问题有关。

这是完整的日志:

{ TABLE "informix".XXX row size = 134 number of columns = 19 index size = 8 }

{ unload file name = XXX__00103.unl number of rows = 7 }

create table "informix".XXX
  (
    XXX_id char(3) not null ,
    XXX_name char(50) not null ,
    XXX_dec_nb decimal(1,0) not null ,
    XXX_rounded decimal(4,3) not null ,
    XXX_symbol char(3) not null ,
    XXX_location decimal(1,0)
        default 0 not null ,
    XXX_negative decimal(2,0) not null ,
    XXX_dec_char char(1) not null ,
    XXX_group_char char(1) not null ,
    XXX_euro decimal(16,8) not null ,
    XXX_active decimal(1,0)
        default 1 not null ,
    XXX_coef decimal(7,3),
    XXX_rnd_0 decimal(7,2) not null ,
    XXX_rnd_1 decimal(7,2),
    XXX_rnd_2 decimal(7,2),
    XXX_rnd_3 decimal(7,2),
    XXX_rnd_4 decimal(7,2),
    XXX_rnd_5 decimal(7,2),
    XXX_cts_desc char(20),

    check (((XXX_active >= 0. ) AND (XXX_active <= 1. ) ) AND (XXX_active IN (0.
              ,1. )) ) constraint "informix".ckc_XXX_acti_XXX,

    check (((XXX_location >= 0. ) AND (XXX_location <= 3. ) ) AND (XXX_location IN (0.
              ,1. ,2. ,3. )) ) constraint "informix".ckc_XXX_loca_XXX,
    primary key (XXX_id)  constraint "informix".pk_XXX
  );

revoke all on "informix".XXX from "public" as "informix";
*** put loadXXX
23103 - Code-set conversion function failed due to illegal sequence or invalid value.

编辑:

已修复:

通过设置更改了C:\ Program Files \ IBM Informix软件包中的'servername'.cmd文件:

  • set CLIENT_LOCALE = EN_US.8859-1
  • set DB_LOCALE = EN_US.8859-1
informix dbimport
1个回答
0
投票

固定:

通过设置更改了C:\ Program Files \ IBM Informix软件包中的'servername'.cmd文件:

    set CLIENT_LOCALE = EN_US.8859-1
  • set DB_LOCALE = EN_US.8859-1
© www.soinside.com 2019 - 2024. All rights reserved.