ORA-O1458 When Passing VARCHAR Host Variable as OUT Param of Stored Procedure
(Doc ID 1010259.6)
Last updated on JANUARY 29, 2022
Applies to:Precompilers - Version 126.96.36.199 and later
Information in this document applies to any platform.
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!