hi jinesh_kamdar:
Still have same problem
bye
Main Topics
Browse All TopicsHi,
I Face this error when I am try to load Data into Table through .CSV File
Record 1045: Rejected - Error on table TREQ_DBS, column SAFETYDETAILS.
Field in data file exceeds maximum length
I know there is a limit in Sqlloader
What I Can add in the sqlldr Script File then I am able to load Data
---- Table Structure -----
CREATE TABLE TREQ_DBS (
REQUESTNO NUMBER,
SAFETYCODE VARCHAR2(6),
ENVTCODE VARCHAR2(6),
SRED VARCHAR2(6),
MSDS VARCHAR2(6),
CHEMICAL VARCHAR2(40),
MADE VARCHAR2(3),
CALENDAR_DATE VARCHAR2(28),
REQUESTOR VARCHAR2(3),
CELLTYPE VARCHAR2(3),
CELLBATCH VARCHAR2(6),
SUBBATCH VARCHAR2(1),
CELLNO NUMBER,
PRIORITY VARCHAR2(6),
PURPOSE VARCHAR2(250),
NO_OFASSEM NUMBER,
CATHODE VARCHAR2(400),
ANODE VARCHAR2(400),
ELEC VARCHAR2(200),
DESIGN VARCHAR2(200),
COND VARCHAR2(3),
PERFORM VARCHAR2(3),
SAFETY VARCHAR2(3),
CONDDETAILS VARCHAR2(400),
PERFORMDETAILS VARCHAR2(1200),
NO_OFCYCLE NUMBER,
SAFETYDETAILS VARCHAR2(1200),
NO_OFABUSE NUMBER,
DATATECHNICIAN VARCHAR2(30),
COMMENTS VARCHAR2(200),
THISTREQ VARCHAR2(100),
EXPERIMENT_ID NUMBER(10),
APPROVED VARCHAR2(3),
CONSTRAINT TREQ_PKY PRIMARY KEY(REQUESTNO)
USING INDEX TABLESPACE NDX )
-------------------
--------------- SQL LOADER SCRIPT ----------------
load data
infile 'C:\pdxappdb_scripts\fadi_
badfile 'C:\pdxappdb_scripts\fadi_
discardfile 'C:\pdxappdb_scripts\fadi_
replace
into table TREQ_DBS
fields terminated by '$'
trailing nullcols
(
REQUESTNO,
SAFETYCODE,
ENVTCODE,
SRED,
MSDS,
CHEMICAL,
MADE,
CALENDAR_DATE,
REQUESTOR,
CELLTYPE,
CELLBATCH,
SUBBATCH,
CELLNO,
PRIORITY,
PURPOSE,
NO_OFASSEM,
CATHODE,
ANODE,
ELEC,
DESIGN,
COND,
PERFORM,
SAFETY,
CONDDETAILS,
PERFORMDETAILS,
NO_OFCYCLE,
SAFETYDETAILS,
NO_OFABUSE,
DATATECHNICIAN,
COMMENTS,
THISTREQ,
EXPERIMENT_ID,
APPROVED
)
Thanks
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: jinesh_kamdarPosted on 2007-10-15 at 13:26:29ID: 20081271
Make ur SAFETYDETAILS column of the table to hold VARCHAR2(4000) and try reloading the data.