Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

SQL*Loader when field is null

ZanderMay 19 2016 — edited May 22 2016

Hi People,

Can you help me,

I trying to do a load  by txt file , but I Have a condition "where field1 is null or Field1 =! 'ALFA' " how can I do this .

I.E.

LOADDATA

INFILE '/dir/file.csv'

APPEND

INTO TABLE TABLE_NAME

WHEN (FIELD1 IS NULL ) OR  (FIELD1 != 'ALFA' )

......

How Can I do this First condition, because the Oracle 11 not accept " Is null "   

I Tried  Field1 = BLANKS , but always  the same error .....

Tks





This post has been answered by Barbara Boehmer on May 20 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 19 2016
Added on May 19 2016
2 comments
2,993 views