我通过ORASESSION连接到数据库,使用ORAQUERY进行如下操作时出现错误
TRY
  ORASESSION.STARTTRANSATION;
  ORAQUERY.APPENDRECORD([]);
  ORAQUERY.APPLYUPDATES;
  ORASESSION.COMMIT;
EXCEPT
  ORASESSION.ROLLBACK;
END;
错误提示为:赋值列表中存在多个大小>4000的缓冲区

解决方案 »

  1.   

    设置上的事吧;
    --------------------------------------------------------------------
    招聘斑竹我们可以一起交流;
    呵呵
    www.nxrs.net/bbs
    谢谢,别抛砖
      

  2.   

    TOracleSession.BytesPerCharacter
    Declaration
    type TBytesPerCharacterOption = (bc1Byte, bc2Bytes, bc3Bytes, bc4Bytes, bcAutoDetect);
    property BytesPerCharacter: TBytesPerCharacterOption;
    Description
    This property indicates to the session how many bytes is used to store 1 character. This depends on the the character set that is used when creating the database. Setting this value to bcAutodetect will cause the session to automatically query this information when necessary.
    Warning: the default value of this property is bc1Byte, indicating that 1 character takes up 1 byte. For multi-byte character sets you must set this property to the correct value, or to bcAutodetect. Otherwise, you may expect the following error:
    ORA-01026: multiple buffers of size greater than 2000 in the bind list