ORA-22835: Buffer too small for CLOB to CHAR or BLOB to RAW conversion (actual: string, maximum: string)

Cause : An attempt was made to convert CLOB to CHAR or BLOB to RAW, where the LOB size was bigger than the buffer limit for CHAR and RAW types. Note that widths are reported in characters if character length semantics are in effect for the column, otherwise widths are reported in bytes.

Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts

Do one of the following: 1. Make the LOB smaller before performing the conversion, for example, by using SUBSTR on CLOB 2. Use DBMS_LOB.SUBSTR to convert CLOB to CHAR or BLOB to RAW.

update : 25-06-2017
ORA-22835

ORA-22835 - Buffer too small for CLOB to CHAR or BLOB to RAW conversion (actual: string, maximum: string)
ORA-22835 - Buffer too small for CLOB to CHAR or BLOB to RAW conversion (actual: string, maximum: string)

  • ora-00312 : online log string thread string: 'string'
  • ora-03213 : Invalid Lob Segment Name for DBMS_SPACE package
  • ora-27017 : skgfcls: media handle returned by sbtinfo exceeds max length(SSTMXQMH)
  • ora-24784 : Transaction exists
  • ora-12212 : TNS:incomplete PREFERRED_CMANAGERS binding in TNSNAV.ORA
  • ora-27124 : unable to detach from shared memory segment
  • ora-02758 : Allocation of internal array failed
  • ora-13458 : GeoRaster metadata SRS error
  • ora-31030 : Unable to retrieve XML document
  • ora-02700 : osnoraenv: error translating ORACLE_SID
  • ora-28141 : error in creating audit index file
  • ora-23482 : column string of "string"."string": object types not allowed.
  • ora-12345 : user string lacks CREATE SESSION privilege in database link (linkname string)
  • ora-16585 : illegal operation on a primary site
  • ora-07488 : scgrcl: lock manager not initialized.
  • ora-19914 : unable to encrypt backup
  • ora-31072 : Too many child nodes in XMLType fragment for updateXML
  • ora-24803 : illegal parameter value in lob read function
  • ora-06041 : NETDNT: disconnect failed
  • ora-12219 : TNS:missing community name from address in ADDRESS_LIST
  • ora-22056 : value [string] is divided by zero
  • ora-02841 : Server died on start up
  • ora-01933 : cannot create a stored object using privileges from a role
  • ora-30749 : column string not enabled to store objects of type string.string
  • ora-22617 : error while accessing the image handle collection
  • ora-25307 : Enqueue rate too high, flow control enabled
  • ora-08105 : Oracle event to turn off smon cleanup for online index build
  • ora-12733 : regular expression too long
  • ora-31164 : cannot load object-relational XML attribute using direct path
  • ora-01493 : invalid SAMPLE size specified
  • Oracle Database Error Messages



    Oracle Database High Availability Any organization evaluating a database solution for enterprise data must also evaluate the High Availability (HA) capabilities of the database. Data is one of the most critical business assets of an organization. If this data is not available and/or not protected, companies may stand to lose millions of dollars in business downtime as well as negative publicity. Building a highly available data infrastructure is critical to the success of all organizations in today's fast moving economy.

    Well, the reason for above error is that i have taken the above script from a 11g database and running it on 10g database. 11g has bring some changes in password management. Below code is executed on 11g and user created successfully, which is expected result.