在后台启用事务,当执行到第一条插入语句的时候,返回(-1),我把插入语句拿出来到plsql执行,报错
ora-00600;internal error code,argument:[4097],[],[],[],[],[],[],[]的错。手动改表也会报错。
系统是winform。
大神们指导下呗!

解决方案 »

  1.   

    参考一下:http://blog.csdn.net/wyzxg/article/details/2183120
      

  2.   

    把用到的表的建表语句贴一下,然后把你在PL/SQL中执行的SQL语句贴一下。
    可以帮你实测一下。
      

  3.   


    -- Create table
    create table LACKRECORD
    (
      SHIPPINGCODE VARCHAR2(300) not null,
      MATERIALCODE VARCHAR2(30) not null,
      QTY          NUMBER(10) not null,
      LACKDATE     DATE,
      SERIALCODE   VARCHAR2(50)
    )
    tablespace USERS
      pctfree 10
      pctused 40
      initrans 1
      maxtrans 255
      storage
      (
        initial 128
        next 8
        minextents 1
        maxextents 4096
        pctincrease 1
      );
    -- Create/Recreate primary, unique and foreign key constraints 
    alter table LACKRECORD
      add constraint LACK_KEY primary key (SHIPPINGCODE, MATERIALCODE)
      using index 
      tablespace USERS
      pctfree 10
      initrans 2
      maxtrans 255
      storage
      (
        initial 128K
        next 64K
        minextents 1
        maxextents unlimited
        pctincrease 1
      );“insert into lackrecord (shippingcode,materialcode,qty,lackdate,serialcode) values('99990000000006','1C15-B045C96AAYYCM',50,sysdate,'120419001')”