If your data spans "rows" in the file, then we need something to let us know what the logical end of a row is.
eg
SQL> create table t ( d varchar2(1000), n1 int, n2 int);
Table created.
and a data file of
"The following errors occurred:
Error while cancelling backordered line(s) 10
Sales document overall status is completed. Item cannot be Updated",909652,2323358
which I try to load it with
load data
infile "c:\tmp\x.dat"
into table t
replace
fields terminated by "," optionally enclosed by '"'
(d ,
n1 integer external,
n2 integer external
)
gives me failed rows because only the last row meets the logical format.
However, something like
"The following errors occurred:
Error while cancelling backordered line(s) 10
Sales document overall status is completed. Item cannot be Updated",909652,2323358~
with
load data
infile "c:\tmp\x.dat" "str '~'"
into table t
replace
fields terminated by "," optionally enclosed by '"'
(d ,
n1 integer external,
n2 integer external
)
works (ie, 1 row loaded) because now we know where the row ends