Informix Error -26188: Null string is too long or has an incorrect format.
Cause and resolution
Null string is too long or has an incorrect format.
The CREATE EXTERNAL TABLE statement has a column with incorrect NULL "null-string" syntax. The NULL string for this column is longer than the external column length declared or is not a recognized format for the external type.
Check the CREATE EXTERNAL TABLE statement to make sure that the NULL "null-string" length agrees with the size and format defined for the external column type.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26188 fires when a NULL "null-string" clause's string is invalid for its column — per
the official guidance.
- The null string is longer than the declared external column length, per the official guidance — the first named case.
- The null string isn't in a recognized format for the external type, per the official guidance — the second named case.
Solutions / Resolution
- Match the
NULL "null-string"length and format to the column's declared external type and size, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond a null string too long/wrongly formatted for its column.
Diagnostic Checks
- Check the
NULL "null-string"clause's length and format against the column's external type/size, and correct any mismatch.
Related Errors / Related Topics
- -26181 — "Only FIXED format columns can declare a null column-name." A related
null-string restriction, on
FIXED-format eligibility rather than the string's own length/format.
A NULL "null-string" clause's string was too long or wrongly formatted for its column —
match it to the column's external type and size.