ORA-06505: PL/SQL: variable requires more than 32767 bytes of contiguous memory普通连接方式没有问题,只是不想在部署的时候安装客户端,所以就...

解决方案 »

  1.   

    variable requires more than 32767 bytes of contiguous memory
    变量至少需要32767字节的内存,是不是分配不够???
      

  2.   

    应该是ORACLE 中的变量吧?但是我的ORACLE 中没有使用变量啊!应该在什么 时候分配呢?
      

  3.   

    下面是我插入大字段的方式:      //frmDataMain.qry_insert 的SQL.TEXT
          INSERT INTO sky_pub_info (id,pub_time,content)
            VALUES (:id, sysdate, EMPTY_CLOB())
          RETURNING 
            content
          INTO
            :content)
    //调用下面的方法插入含有大字段的记录。
    procedure InsertSySQL(strSQL: string);
    begin
      with frmDataMain.qry_insert do
      begin
        ParamByName('id').AsInteger := GetMaxID('SKY_PUB_INFO');
        ParamByName('content').DataType := ftOraClob;
        ParamByName('content').Clear;
        ParamByName('content').AsString := strSQL;
        Execute;
      end;
    end;大家帮忙分析分析。
    有没有人采用这种方式写过大字段?或者帮我出出主意,介绍个其它的解决方案。