|
|
|
|
|
|
Re: Loading data into database using SQL Loader [message #418265 is a reply to message #417475] |
Thu, 13 August 2009 13:47 |
Mohan10g
Messages: 159 Registered: May 2009 Location: INDIA
|
Senior Member |
|
|
I Used below script to load data
from excel sheet into database table (table1)
LOAD DATA
INFILE 'C:\mohan\August\Aug13\
3080_Remedy 99100_zdlr_op1_t.csv'
APPEND
INTO TABLE table1
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
TRAILING NULLCOLS
(
Column1,
Column2,
Column3,
Column4,
Column5,
Column6,
Column7,
)
I ended up with the error .Below are the errors.
SP2-0042: unknown command
"LOAD DATA" - rest of line ignored.
SP2-0734: unknown command
beginning "INFILE 'C..."
- rest of line ignored.
SP2-0004: Nothing to append.
SP2-0734: unknown command
beginning "INTO TABLE..." - rest of line ignored.
SP2-0734: unknown command
beginning "FIELDS TER..." - rest of line ignored.
SP2-0734: unknown command
beginning "TRAILING N..." - rest of line ignored.
SP2-0042: unknown command
"SAIO_CD," - rest of line ignored.
SP2-0734: unknown command
beginning "Column1..." - rest of line ignored.
SP2-0042: unknown command
"Column2," - rest of line ignored.
SP2-0734: unknown command
beginning "column3_..." - rest of line ignored
I really appreciate if someone could help me on this.
Regards,
Mohan
|
|
|
|
|
|
|
|
|
|
|