Advertisement

07.07.2008 at 10:12AM PDT, ID: 23544004
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.3

Loading csv file to Oracle using sql*loader assistent

Asked by tamirmilo in Oracle 10.x, Oracle Database

Tags: , , ,

Hello Experts,
I am trying to load csv file with about 100,000 lines to Oracle 10g expres using sql*loader utility.
It does not work. See below  control file, bad file and ddl to create the table information
See also the file to be loaded...
Thank you very muchStart Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
DDL OF the table
===============================
CREATE TABLE BREWIN_HOLDINGS (
STOCK_NAME          varchar(200), 
SEDOL               varchar(7),
ISIN                varchar(12),
CUSIP               varchar(200),
EXIMIUS_MKR         varchar(15),
HOLDINGS_NOM_VAL    varchar(1),
STATUS              varchar(100),
CREG                varchar(4),
CQUO                varchar(100),
EXQUO               varchar(100),
SEC_TYPE            varchar(20),
PLACE_HOLDER1       varchar(10),
PLACE_HOLDER2       varchar(10),
PLACE_HOLDER3       varchar(10),
COUNTER             varchar(10))
 
holdings.ctl:
===================================
load data
append 
into table BREWIN_HOLDINGS
fields terminated by ","
(STOCK_NAME, SEDOL, ISIN, CUSIP, EXIMIUS_MKR , HOLDINGS_NOM_VAL, STATUS,  CREG , 	CQUO , EXQUO, SEC_TYPE, PLACE_HOLDER1 , PLACE_HOLDER2, PLACE_HOLDER3, COUNTER )
 
Oracle SQL*LOADER output:
================================
 
SQL*Loader: Release 10.2.0.1.0 - Production on Mon Jul 7 15:36:00 2008
 
Copyright (c) 1982, 2005, Oracle.  All rights reserved.
 
Control File:   holdings.ctl
Data File:      holdings.dat
  Bad File:     holdings_b.bad
  Discard File:  none specified
 
 (Allow all discards)
 
Number to load: ALL
Number to skip: 0
Errors allowed: 50
Bind array:     64 rows, maximum of 256000 bytes
Continuation:    none specified
Path used:      Conventional
 
Table BREWIN_HOLDINGS, loaded from every logical record.
Insert option in effect for this table: APPEND
 
   Column Name                  Position   Len  Term Encl Datatype
------------------------------ ---------- ----- ---- ---- ---------------------
STOCK_NAME                          FIRST     *   ,       CHARACTER            
SEDOL                                NEXT     *   ,       CHARACTER            
ISIN                                 NEXT     *   ,       CHARACTER            
CUSIP                                NEXT     *   ,       CHARACTER            
EXIMIUS_MKR                          NEXT     *   ,       CHARACTER            
HOLDINGS_NOM_VAL                     NEXT     *   ,       CHARACTER            
STATUS                               NEXT     *   ,       CHARACTER            
CREG                                 NEXT     *   ,       CHARACTER            
CQUO                                 NEXT     *   ,       CHARACTER            
EXQUO                                NEXT     *   ,       CHARACTER            
SEC_TYPE                             NEXT     *   ,       CHARACTER            
PLACE_HOLDER1                        NEXT     *   ,       CHARACTER            
PLACE_HOLDER2                        NEXT     *   ,       CHARACTER            
PLACE_HOLDER3                        NEXT     *   ,       CHARACTER            
COUNTER                              NEXT     *   ,       CHARACTER            
 
Record 1: Rejected - Error on table BREWIN_HOLDINGS, column SEDOL.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 2: Rejected - Error on table BREWIN_HOLDINGS, column SEDOL.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 3: Rejected - Error on table BREWIN_HOLDINGS, column SEDOL.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 4: Rejected - Error on table BREWIN_HOLDINGS, column ISIN.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 5: Rejected - Error on table BREWIN_HOLDINGS, column EXQUO.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 6: Rejected - Error on table BREWIN_HOLDINGS, column CREG.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 7: Rejected - Error on table BREWIN_HOLDINGS, column STOCK_NAME.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 8: Rejected - Error on table BREWIN_HOLDINGS, column STOCK_NAME.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 9: Rejected - Error on table BREWIN_HOLDINGS, column SEDOL.
Column not found before end of logical record (use TRAILING NULLCOLS)
[+][-]07.07.2008 at 10:24AM PDT, ID: 21946899

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 10:29AM PDT, ID: 21946943

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 10:31AM PDT, ID: 21946973

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 10:48AM PDT, ID: 21947112

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 10:51AM PDT, ID: 21947135

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 10:55AM PDT, ID: 21947162

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 10:57AM PDT, ID: 21947179

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 10:59AM PDT, ID: 21947194

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 11:00AM PDT, ID: 21947196

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 11:18AM PDT, ID: 21947329

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 11:22AM PDT, ID: 21947362

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 12:17PM PDT, ID: 21947779

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 12:19PM PDT, ID: 21947799

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 12:22PM PDT, ID: 21947829

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 12:27PM PDT, ID: 21947863

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 12:28PM PDT, ID: 21947873

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 12:38PM PDT, ID: 21947965

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 12:44PM PDT, ID: 21948012

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 12:52PM PDT, ID: 21948096

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 12:56PM PDT, ID: 21948138

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 12:58PM PDT, ID: 21948158

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Oracle 10.x, Oracle Database
Tags: Oracle, DATA BASE, 10G, SQL*LOADER
Sign Up Now!
Solution Provided By: DrSQL
Participating Experts: 3
Solution Grade: A
 
 
[+][-]07.08.2008 at 05:16AM PDT, ID: 21952981

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628