Hi,
I loaded amount of data into one table.Table name is SAMPLE. Some of the data inserted correctly. Some data is inserted but not correctly.
My SQL Loder commands:
In command promt, I wrote like
Sqlldr userid=scott/tiger@flower control=sample. ctl log=sample.log
Sample Control file:
Data loaded like
ID NAME STREET
10 'MICHAEL' JAMKHYA ROAD
20 'SATHEEH' JKOIYTT STKAJ
But I need full values JAMKHYA ROAD,89,CROSS STREET in street columns.
What I found means, the oracle server accepts street columns values up to first comma.because I mention in control file fields terminated by “’ ”.so that only it writes like this.
How to avoid these errors?
I loaded amount of data into one table.Table name is SAMPLE. Some of the data inserted correctly. Some data is inserted but not correctly.
My SQL Loder commands:
In command promt, I wrote like
Sqlldr userid=scott/tiger@flower control=sample. ctl log=sample.log
Sample Control file:
Code:
LOAD DATA INFILE * INTO TABLE SAMPLE FIELDS TERMINATED BY "," ( ID, NAME, STREET ) BEGINDATA 10,'MICHAEL',JAMKHYA ROAD,89,CROSS STREET, 20,'SATHEEH',JKOIYTT STKAJ,12,MAIN ROAD',
Data loaded like
ID NAME STREET
10 'MICHAEL' JAMKHYA ROAD
20 'SATHEEH' JKOIYTT STKAJ
But I need full values JAMKHYA ROAD,89,CROSS STREET in street columns.
What I found means, the oracle server accepts street columns values up to first comma.because I mention in control file fields terminated by “’ ”.so that only it writes like this.
How to avoid these errors?
Comment