ORA-O1458 When Passing VARCHAR Host Variable as OUT Param of Stored Procedure
(Doc ID 1010259.6)
Last updated on DECEMBER 31, 2019
Applies to:Precompilers - Version 188.8.131.52 and later
Information in this document applies to any platform.
***Checked for relevance on 26-Jul-2013***
Calling a PL/SQL stored procedure which has an OUT parameter from a Pro*C program. The OUT parameter is of type VARCHAR or CHAR, and the host variable you are passing for this parameter is of type VARCHAR.
When you call the PL/SQL procedure, you receive the following error:
ORA-01458 invalid length inside variable character string
Connected to ORACLE as user: SCOTT
Calling PL/SQL procedure myproc from C function proc1.
ORACLE error detected:
ORA-01458: invalid length inside variable character string
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!