免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 5186 | 回复: 5
打印 上一主题 下一主题

DBIMPORT REPORTS ERROR " IMPORT DATA IS CORRUPTED! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-11-29 10:09 |只看该作者 |倒序浏览
revoke all on "informix".loc_items from "public";

create unique index "informix".ix_loc_item_id on "informix".loc_items
    (item_id);
create index "informix".ix_loc_item_loc on "informix".loc_items
    (loc_id);
alter table "informix".loc_items add constraint primary key (item_id)
     ;
{ TABLE "informix".loc_history row size = 44 number of columns = 8 index size =
75
              }
{ unload file name = loc_h00107.unl number of rows = 9528 }

create table "informix".loc_history
  (
    item_id serial not null ,
    loc_id integer not null ,
    prev_id integer,
    user_id integer,
    item_type varchar(9),
    type varchar(9),
    start_date date not null ,
    end_date date
  );
revoke all on "informix".loc_history from "public";

create index "informix".ix_loch_loc_id on "informix".loc_history
    (loc_id);
create index "informix".ix_loch_previd on "informix".loc_history
    (prev_id);
create index "informix".ix_loch_uid on "informix".loc_history
    (user_id);
create index "informix".ix_loch_lt_id on "informix".loc_history
    (loc_id,item_type);
create unique index "informix".ix_loch_item_id on "informix".loc_history
    (item_id);
{ TABLE "informix".inventory row size = 50 number of columns = 6 index size = 72

              }
{ unload file name = inven00108.unl number of rows = 72645 }

create table "informix".inventory
  (
    ware_id integer not null ,
    prod_id integer not null ,
    quantity integer
        default 0,
    average_p money(16,2)
        default 0.00,
    manual_p money(16,2)
        default 0.00,
    status varchar(19) not null
  );
*** Import data is corrupted!

0 - Unknown error message 0.


不知道是怎么回事, 请各位大虾相救

论坛徽章:
0
2 [报告]
发表于 2006-02-08 14:35 |只看该作者
我也遇到相同的问题了,大家帮帮忙啊!
这是怎么回事呢?该如何解决阿?

论坛徽章:
0
3 [报告]
发表于 2006-02-12 10:40 |只看该作者
先别导这张表了,它可以在最后load,看看到底是那行纪录出了问题。你可以修改dmexpor.exp目录中的<db_name>.sql ,把这个表的信息先去掉。

论坛徽章:
0
4 [报告]
发表于 2006-02-12 14:59 |只看该作者
估计是有乱码,先手工建表,用load插表就知道哪一行有问题了

论坛徽章:
0
5 [报告]
发表于 2006-02-13 14:38 |只看该作者
{ unload file name = loc_h00107.unl number of rows = 9528 }

以上行的rows=????
与你的unl记录的行数不一致.

论坛徽章:
0
6 [报告]
发表于 2008-10-19 13:43 |只看该作者
原帖由 fush76 于 2006-2-13 14:38 发表
{ unload file name = loc_h00107.unl number of rows = 9528 }

以上行的rows=????
与你的unl记录的行数不一致.

应该是这个原因。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP