
In IQ 16.1, LOAD_ZEROLENGTH_ASNULL controls zero-length input when a compatible column type and a NULL column specification are used together.
Enable it for the load session
set temporary option LOAD_ZEROLENGTH_ASNULL = 'ON';For affected CHAR, VARCHAR, LONG VARCHAR or binary columns, the LOAD TABLE column definition also needs an appropriate NULL specification, such as NULL(ZEROS) or NULL(BLANKS). Setting the option alone is not the whole configuration.
Validate the result
Test a small input containing both empty and populated fields. Query the loaded rows to distinguish NULL from an empty string or binary value.
With the option OFF, zero-length handling is also subject to NON_ANSI_NULL_VARCHAR. Match the options and column specifications to the required data semantics.
SAP Help: LOAD_ZEROLENGTH_ASNULL



