Oracle Error : ORA-22835: Buffer too small for CLOB to CHAR or BLOB to RAW conversion (actual: 3000, maximum: 4000)
2008-02-26 21:09
1141 查看
author:skate
time:2008/02/25
最近在导数据的时候,提示如下错误:
Oracle Error : ORA-22835: Buffer too small for CLOB to CHAR or BLOB to RAW conversion (actual: 3000, maximum: 4000)
我就迷糊了,怎么实际值比字符的最大值下啊,怎么还提示错误啊,
但我用substr(string,1,2500)来截取,但错误依旧,当我放到1000
的时候,才可以可以通过.经过我仔细一琢磨,原来是里面的韩文在作怪
,一个韩文字符最多可以占4个字节,而varchar2最多可以容纳4个字节
当我用substr截到2000个字符的时候,实际上已经超过4000个字节了,但这样
就对英语不公平了,英语也被截到1000个字符了,1000英文字符怎么能和
1000个韩语占的字节数相比了,那真是 太少了
time:2008/02/25
最近在导数据的时候,提示如下错误:
Oracle Error : ORA-22835: Buffer too small for CLOB to CHAR or BLOB to RAW conversion (actual: 3000, maximum: 4000)
我就迷糊了,怎么实际值比字符的最大值下啊,怎么还提示错误啊,
但我用substr(string,1,2500)来截取,但错误依旧,当我放到1000
的时候,才可以可以通过.经过我仔细一琢磨,原来是里面的韩文在作怪
,一个韩文字符最多可以占4个字节,而varchar2最多可以容纳4个字节
当我用substr截到2000个字符的时候,实际上已经超过4000个字节了,但这样
就对英语不公平了,英语也被截到1000个字符了,1000英文字符怎么能和
1000个韩语占的字节数相比了,那真是 太少了
相关文章推荐
- ORA-22835 缓冲区对于 CLOB 到 CHAR 转换或 BLOB 到 RAW 转换而言太小
- ORA-06502: PL/SQL: numeric or value error: character string buffer too small
- ORA-06502:PL/SQL :numberic or value error: character string buffer too small
- PHP调用Oracle存储过程时的错误:ORA-06502: PL/SQL: numeric or value error: character string buffer too small
- ORA-06502:PL/SQL :numberic or value error: character string buffer too small
- ORA-22835 缓冲区对于 CLOB 到 CHAR 转换或 BLOB 到 RAW 转换而言太小
- ORA-06502: PL/SQL: numeric or value error: character string buffer too small
- ORA-06502: PL/SQL: numeric or value error: character string buffer too small
- Oracle启动时报错 error while trying to retrieve text for error ORA-12543
- Unable To Import Or Enter Sale Order - ORA-20001: APP-FND-01564: ORACLE error - 1422 in get_seq_info
- ERROR 1074 (42000): Column length too big for column 'Flist' (max = 21845); use BLOB or TEXT instead
- Unable To Import Or Enter Sale Order - ORA-20001: APP-FND-01564: ORACLE error - 1422 in get_seq_info
- Oracle学习笔记4 使用Navicat for Oracle 连接Oracle时出现错误:ORA-28547: connection to server failed, probable Oracle Net admin error
- Unable To Import Or Enter Sale Order - ORA-20001: APP-FND-01564: ORACLE error - 1422 in get_seq_info
- ORA-12899: value too large for column "SOAU"."SJQY_QTSBSPEC"."PROPERTY_6" (actual: 566, maximum: 500
- ORA-12899: value too large for column LabelName (actual: 36, maximum: 32)
- TypeError: buffer is too small for requested array python 问题处理
- 解决方案 ERROR: ORA-01033: ORACLE initialization or shutdown in progress
- Oracle 10g 异常:ORA-01658:unable to create INITIAL extent for segmnet in tablespace SYSTEM
- ORA-00119: invalid specification for system parameter LOCAL_LISTENER ORA-00132: syntax error or unre