How to fix the Oracle error PCB-00235: Table size mismatch in INTO/USING. Minimum is: number?
In this post, you’ll learn more about the Oracle ErrorPCB-00235: Table size mismatch in INTO/USING. Minimum is: number with the details on why you receive this error and the possible solution to fix it.
Oracle Error Description
PCB-00235: Table size mismatch in INTO/USING. Minimum is: number
Reason for the Error PCB-00235: Table size mismatch in INTO/USING. Minimum is: number
Cause: The size of a table variable in an INTO/USING clause of a dynamic EXECUTE statement has been ARRAYLEN…EXECUTE’d while the other host variable has not and is not a table of dimension 1 or a plain non-table host variable. Example: 01 X PIC X(10) OCCURS 10. 01 Y PIC S9(4) COMP OCCURS 10. 01 Z PIC S9(4) COMP. … EXEC SQL ARRAYLEN X (DIM) EXECUTE END-EXEC. … EXEC SQL EXECUTE S1 USING :X, :Y END-EXEC. <-- error EXEC SQL EXECUTE S1 USING :X, :Z END-EXEC. <-- ok Please note that this error differs from 233 in that it is an ERROR not a WARNING.
How to fix the Error PCB-00235: Table size mismatch in INTO/USING. Minimum is: number ?
You can fix this error in Oracle by following the below steps
Action: ARRAYLEN…EXECUTE all of the table variables in the INTO/USING clause or those host variables not ARRAYLEN…EXECUTEd need to be of dimension 1.
Leave Your Comment