Database Utilities (MOSC)

MOSC Banner

I am having trouble getting a control file to insert rows in a table. (Error message SQL*Loader-601:

edited Jun 21, 2013 4:11PM in Database Utilities (MOSC) 7 commentsAnswered ✓
 I know this sounds weird but I am going to explain this as easy as possible. 

The error I am getting is:
SQL*Loader-601: For INSERT option, table must be empty.  Error on table PROJ_INS


1.  I have a excel file that has data that needs to go into a table.

2. Made a (Loader.bat) file to run the control file.

sqlldr fiveyr/**********@prod control=c:/minorload/fy2013.ctl


3. Made the control file called (fy2013.ctl) that has the data in the file.

sytax I used:

load data
infile *
into table proj_ins
fields terminated by ',' optionally enclosed by '"'

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center