I have the following table:
Name Null? Type
----------------------------------------- -------- ----------------------------
NAME VARCHAR2(230)
TEST VARCHAR2(230)
ID6 VARCHAR2(230)
ID4 VARCHAR2(230)
ID1 VARCHAR2(230)
ID2 VARCHAR2(230)
ID3 VARCHAR2(230)
ID5 VARCHAR2(230)
ID NUMBER(38)
Case 1:
Now I try to insert data through sqlldr
. It loads data when values are provided for all of the columns, as follows:
a,b,c,d,e,f,g,1
a,b,c,d,e,f,g,1
a,b,c,d,e,f,g,1
a,b,c,d,e,f,g,1
a,b,c,d,e,f,g,1
Case 2:
when I try to load data like so:
a,,,,,,,
data is not loaded.
I also tried using this way:
a,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL
but got the message:
Commit point reached - logical record count 1
When I take count on that table, it remains 0.
Can anyone help me load the data from case 2?
My contol file:
LOAD DATA INFILE 'temp.txt'
BADFILE 'temp_log.txt'
INTO TABLE a
FIELDS TERMINATED BY "," (
name,
test,
id6,
id4,
id1,
id2,
id3,
id5,
id)