Database Error Messages

Release
toggle
  • 23ai
  • 21c
Updated
Jun 24, 2024

KUP-03992

invalid size for character length number specified for field string

Cause

The data type for the field was VARCHARC or VARRAWC. Each instance of theses data types starts with a fixed length portion of numeric characters containing the length of the data for the field. The default length was 5 bytes, however the access parameters can specify a different length. If the access parameters specify a value, the minimum value was 1 and the maximum value was either 10 for data sources with character length semantics or 20 for data sources with byte length semantics.


Action

Make sure the access parameters have the correct size specified for the length component of these data types.