Oracle DBA, How To, Error, Cause and Action

ORA-06525: Length Mismatch for CHAR or RAW data

ORA-06525: Length Mismatch for CHAR or RAW data




Cause: The length specified in the length variable has an illegal value. This can happen if you have requested requested a PL/SQL INOUT, OUT or RETURN raw variable to be passed as a RAW with no corresponding length variable. This error can also happen if there is a mismatch in the length value set in the length variable and the length in the orlvstr or orlraw.




Action: Correct the external procedure code and set the length variable correctly.