How to fix the Oracle error PCB-00222: Size for host variable string exceeds maximum size?
In this post, you’ll learn more about the Oracle ErrorPCB-00222: Size for host variable string exceeds maximum size with the details on why you receive this error and the possible solution to fix it.
Oracle Error Description
PCB-00222: Size for host variable string exceeds maximum size
Reason for the Error PCB-00222: Size for host variable string exceeds maximum size
Cause: A variable declared with PIC S9(n), with n greater than what is allowed on the given platform, was used in an embedded sql statement. On 32 bit machines n must not exceed 9, and on 64 bit machines, n must not exceed 18.
How to fix the Error PCB-00222: Size for host variable string exceeds maximum size ?
You can fix this error in Oracle by following the below steps
Action: Use a smaller number in the picture clause that does not exceed the maximum allowed size on your platform or use COMP-3.
Leave Your Comment