Oracle Error OCI-22063: reading negative value [string] as unsigned

Oracle Error Message

OCI-22063: reading negative value [string] as unsigned

Reason for the Error

Attempt to convert a negative number to an unsigned integer.

Solution

Use the sign flag ORLTSB to convert a signed number.