SQL LOADER DATE FORMATING HELP [message #71664] |
Thu, 12 December 2002 13:11 |
Vidyalakshmi Iyer
Messages: 13 Registered: April 2002
|
Junior Member |
|
|
test.ctl
----------
LOAD DATA
APPEND
INTO TABLE test_m1
(
F1 POSITION(1:14) DATE(14) "YYYYMMDDHHMMSS",
F2 POSITION(15:28) Date(14) "YYYYMMDDHHMMSS",
F3 POSITION(29:30) char,
F4 POSITION(31:35) char
)
Command used to load:
---------------------
sqlldr scott/tiger control=test.ctl log=test.log data=test.txt direct=true parallel=true
test.txt
---------
20021101090739200211040812500000000
Errors I get:
-------------
Error calling once/load initialization
ORA-02354: Conversion initialization error occurred on field F1
ORA-02351: Record 0: Rejected - Error on table TEST_M1, column F1
ORA-01810: format code appears twice
Can't guess why?
As you see the data file is correct.
The structure of the table is
as follows:
desc test_m1
Name Null? Type
----------------------- ------ ------
F1 DATE
F2 DATE
F3 VARCHAR2(2)
F4 VARCHAR2(5)
What is the problem?
Any help will be really appreciated.
Thanks a ton in advance,
Regards,
Vidya
|
|
|
|
|