I have problem in using the NULLIF clause to set a Numeric field to null If either-
a) it contains blanks or
b) it contains -1
the or is what I couldn't get SQLLoader to work!
I tried or , but no luck!!
a) it contains blanks or
b) it contains -1
the or is what I couldn't get SQLLoader to work!
Code:
Load Data
infile 'test.dat'
REPLACE
INTO TABLE userData
(
VALUE POSITION(185:187) INTEGER EXTERNAL NULLIF (VALUE=BLANKS)
)
I tried or , but no luck!!