I am trying to upload data to a table using sql ldr-
sqlldr userid=aa2012/uaxiqdz@ADB control=simple.ctl
simple.ctl:-
LOAD DATA
INFILE '../data/simple.csv'
BADFILE '../data/simple.bad'
DISCARDFILE '../data/simple.dsc'
INTO TABLE SIMPLE_TAB
replace
fields terminated by ',' optionally enclosed by '"'
(
ID INTEGER
EXTERNAL,
NAME CHAR(32)
)
simple.csv has two columns: 1st-number 2nd Name.
create table Simple_Tab (
id number primary key,
name varchar2(32)
)
But I get the following error -
SQL*Loader: Release 10.2.0.1.0 - Production on Sat Dec 4 22:43:55 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL*Loader-941: Error during describe of table SIMPLE_TAB ORA-04043: object SIMPLE_TAB does not exist
I tried -
- Carefully choosing the filepaths where i store the files.
- Deleting and recreating the table SIMPLE_TAB
- Carefully using upper case in all the commands
but none helped.