Sign up now to view this solution! It's quick, easy, and secure to subscribe. We will return you to this solution, unlocked, when you’re done.
I have a ctl file : and it is giving me an error. I think it does not like the columns such as AT_NBR NUMBER, but I have no choice that column does not have the number(6) or some specific size defined. So how can I bypass that and still load the csv file into the table?
LOAD DATA
INFILE 'test.csv'
INSERT INTO TABLE s48.mytab
FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"' TRAILING NULLCOLS
(ACCT_NBR NUMBER(31),
AT_NBR NUMBER,
AT_ACCT_NBR NUMBER,
ND_ACCT_NBR NUMBER(16),
JOIN_DT DATE 'mm/dd/yyyy',
A_CLOSE_DT DATE 'mm/dd/yyyy',
T_TYPE VARCHAR2(3),
_CRTE_DIFF NUMBER,
N_ID NUMBER
)
Sign up now to view this solution! It's quick, easy, and secure to subscribe. We will return you to this solution, unlocked, when you’re done.
New Carrier-Grade Blade and Rackmount Servers Deliver Better Performance, Density and Power Efficiency for the Communications Industry ...
Oracle is fixing 21 flaws in its Java SE and Java for Business products in its February critical patch update issued this week ...
Why was he there? Who wasn’t invited and why? What did they talk about? Why was he really there? These are the questions being debated ...
"The Oracle gurus provide answers, solutions and valuable workarounds"
User: schwertner
"Wow! Excellent, valuable explanation. Hats off to you"
User: aseshu70
"Solution worked fantastic and performs excellent! Thanks heaps"
User: klausbrandlhuber
slightwv
2,000
0 points yesterday
Profile
Posted on 2009-12-28 at 12:31:56ID: 28256065
All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.