Use the NULL conversion option to convert specific values in the input data to NULLS when inserting into Sybase IQ column indexes. This option can be used with any columns, but the column must allow NULLS. You can specify this conversion option with any Sybase IQ data type.
Here is the syntax.
NULLS ({BLANKS | ZEROS | literal' ['literal']...})
where:
BLANKS indicates that blanks convert to NULLS.
ZEROS indicates that binary zeros convert to NULLS.
literal indicates that all occurrences of the specified literal convert to NULLS. The specified literal must match exactly, including leading and/or trailing blanks, with the value in the input file, for Sybase IQ to recognize it as a match. You can list up to 20 literal values.
You may need to use additional conversion options on the same column. For example, to insert ASCII data into an INT column, which is stored in binary format, and convert blanks in the input data to NULLS when inserted, use the ASCII conversion option to convert the input to binary and the NULL conversion option to convert blanks to NULLS.
Here is a Windows example:
LOAD TABLE lineitem( l_orderkey NULLS(ZEROS) ASCII(4), l_partkey ASCII(3), l_shipdate date('MM/DD/YY'), l_suppkey ascii(5), FILLER(1)) FROM 'C:\\MILL1\\tt.t' PREVIEW ON