Oracle Error OCI-22059: buffer size [string] is too small – [string] is needed

Oracle Error Message

OCI-22059: buffer size [string] is too small – [string] is needed

Reason for the Error

The buffer to hold the resulting text string is too small.

Solution

Provide a buffer of the required size.