Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
newbie needs help with SQL Loader
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Expand all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
"_srcnckpc"  
View profile  
 More options Feb 16 2001, 2:56 pm
Newsgroups: comp.databases.oracle.misc
From: " srcnckpc"@hotmail.com
Date: Fri, 16 Feb 2001 19:56:30 GMT
Local: Fri, Feb 16 2001 2:56 pm
Subject: newbie needs help with SQL Loader
Hello:

Here's my control file:

load data
infile 'test.txt'
into table excel
( Cusip  position(01:17)               char,
 Issuer_name  position(18:28)     char )

I get the following errors:

Record 11: Discarded - all columns null.
Record 12: Discarded - all columns null.
Record 13: Discarded - all columns null.
Record 1: Rejected - Error on table EXCEL.
ORA-01400: cannot insert NULL into ("SCOTT"."EXCEL"."ISSUE_DATE")

Record 4: Rejected - Error on table EXCEL, column CUSIP.
Column not found before end of logical record (use TRAILING NULLCOLS).

If I do 'not null' then I get errors saying 'syntax error....not
null....."

Is the format 'test.txt' wrong? What other format can I use

Thanks so much,
SRC


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
j_beverly  
View profile  
 More options Feb 17 2001, 8:01 pm
Newsgroups: comp.databases.oracle.misc
From: j_beve...@yahoo.com (j_beverly)
Date: Sun, 18 Feb 2001 01:01:49 GMT
Local: Sat, Feb 17 2001 8:01 pm
Subject: Re: newbie needs help with SQL Loader

I'm a beginner myself, but I'd suggest you look at the answers to
these questions and if you don't find the reason for the problem, post
more details and ask again.

How many fields do you have in your table and what are they? (Why
do you only have "Cusip" and "Issuer_name" in your control file,
but your error refers to a "ISSUE_DATE"?)

Do any of the records load? (e.g. 2-3 & 5-10)

What does the data (in 'test.txt') look like?  Is there valid data
there for any fields with a NOT NULL constraint?

===============


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2010 Google