How to fix the Oracle error OCI-22057: bad integer length [string]?

In this post, you’ll learn more about the Oracle ErrorOCI-22057: bad integer length [string] with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

OCI-22057: bad integer length [string]

Reason for the Error OCI-22057: bad integer length [string]

The length of the integer (ie number of bytes) to be converted to or from an Oracle number is invalid.

How to fix the Error OCI-22057: bad integer length [string] ?

You can fix this error in Oracle by following the below steps

Use integer length 1, 2, 4 or 8 bytes only.

Tags :

Leave Your Comment