I'm trying to import text file into some oracle table.
I created control file, and text file, create table ..and run sqlldr80 from
command promt..
Imort was not succesfull..err or occurs..sql*loa der-524:partial record found
at end of data file (proba.ctl)
See what i done, and please help me..
CREATING TABLE
*************** ****
create tabale example(
column1 number(3),
column2 char(3))
*************** ****
CREATING CONTROL FILE
*************** ****
LOAD DATA
INFILE 'EXAMPLE.DAT'
INTO TABLE EXAMPLE
(COLUMN1 POSITION (01:03) INTEGER EXTERNAL,
COLUMN2 POSITION (04:06) CHAR)
*************** ******
CONTENT OF EXAMPLE.DAT FILE (after "C" Carriage Return)
*************** *****
123ABC
234DEF
*************** *****
text written in command prompt
*************** ******
sqlldr80 tomo/ko***@beq-local.world control = 'example.ctl'
data='example.d at'
*************** ****
all files are placed in root c:\
PLEASE HELP ME!! WHERE I DID IT WRONG?!! 3 17808
You can try putting a carriage return after the last line in your
example.dat.
As a side issue, it would be better to use varchar2 instead of char in
your table definition 'example'.
M
"Tomo" <to************ **@vz.hinet.hr> wrote in message news:<bp******* ***@ls219.htnet .hr>... I'm trying to import text file into some oracle table. I created control file, and text file, create table ..and run sqlldr80 from command promt.. Imort was not succesfull..err or occurs..sql*loa der-524:partial record found at end of data file (proba.ctl) See what i done, and please help me.. CREATING TABLE *************** **** create tabale example( column1 number(3), column2 char(3)) *************** **** CREATING CONTROL FILE *************** **** LOAD DATA INFILE 'EXAMPLE.DAT' INTO TABLE EXAMPLE (COLUMN1 POSITION (01:03) INTEGER EXTERNAL, COLUMN2 POSITION (04:06) CHAR) *************** ****** CONTENT OF EXAMPLE.DAT FILE (after "C" Carriage Return) *************** ***** 123ABC 234DEF *************** ***** text written in command prompt *************** ****** sqlldr80 tomo/ko***@beq-local.world control = 'example.ctl' data='example.d at' *************** **** all files are placed in root c:\ PLEASE HELP ME!! WHERE I DID IT WRONG?!!
it's all right, i put enter key at the and of data in control file and data
file...stuff working just fine!
Exaple i wrote was just simple problem...i tried on my real data(not
example) and job is done!!!
Thanks Daniel and Jonathan!!And Soul survivor on other newsgroup!!!
Best regards!! Tomo!!
"Tomo" <to************ **@vz.hinet.hr> wrote in message news:<bp******* ***@ls219.htnet .hr>... I'm trying to import text file into some oracle table. I created control file, and text file, create table ..and run sqlldr80 from command promt.. Imort was not succesfull..err or occurs..sql*loa der-524:partial record found at end of data file (proba.ctl) See what i done, and please help me.. CREATING TABLE *************** **** create tabale example( column1 number(3), column2 char(3)) *************** **** CREATING CONTROL FILE *************** **** LOAD DATA INFILE 'EXAMPLE.DAT' INTO TABLE EXAMPLE (COLUMN1 POSITION (01:03) INTEGER EXTERNAL, COLUMN2 POSITION (04:06) CHAR) *************** ****** CONTENT OF EXAMPLE.DAT FILE (after "C" Carriage Return) *************** ***** 123ABC 234DEF *************** ***** text written in command prompt *************** ****** sqlldr80 tomo/ko***@beq-local.world control = 'example.ctl' data='example.d at' *************** **** all files are placed in root c:\ PLEASE HELP ME!! WHERE I DID IT WRONG?!!
Is your text file very large?
Michael Tubuo Ngong This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Bo Brunsgaard |
last post by:
I have a problem trying to run SQL*Loader after migrating to Oracle 9.
It used to run with no hicups on Oracle 8i, and I'm at my wits' end.
Any help?
I'm trying to run SQL*Loader from a command prompt (I'm on Oracle 9i
R1 and WinXP professional), and fail to connect to the database.
The command at the promt is like this:
sqlldr bbc/password@bbc control = C:\...path to controlfile
|
by: Hari Om |
last post by:
Here are the details of my error log files:
I execute the command and get following message at console:
----------------------------------------------------------------------
../sqlldr scott/tiger@common control=/full_path/test.ctl
log=/full_path/adhoc/test.log
SQL*Loader: Release 9.2.0.1.0 - Production on Tue Sep 2 10:49:27 2003
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
|
by: stef |
last post by:
Hi,
I have a range partitioned (one partition = one month) table. On this
table I have a local unique index and a local domain index (Oracle
Text) on a CLOB column.
I'm running Oracle 9.2.0.1.0
CREATE TABLE PAGES_4M (
LOADDATE NUMBER(8) NOT NULL,
|
by: Thomas R. Hummel |
last post by:
Hello,
I am currently in the process of converting an Oracle data warehouse
over to SQL Server. The warehouse is loaded through a bunch of text
files all through SQL Loader, using various control files. I need to
convert this over to use BCP with format files, which has proven to be
a very tedious task.
Has anyone written, or seen, a utility to convert Oracle control files
over to format files?
|
by: gkata |
last post by:
I have a file that originated on the mainframe that contains both text and packed fields. I'm using sql loader to load a Oracle table, but I'm having difficulty with the packed fields loading correctly. I've been trying several options in the control file, but none seem to work:
ODOMETER_READING POSITION (65:68) DECIMAL (6,0),
Any help is appreciated.
| |
by: vshalpatel |
last post by:
Hi
I want to use SQL*Loader , an Oracle-supplied utility to load data from a flat file into one database tables.
for this I have write the scripts in the SQL*LOADER control file named loader.ctl. actual data file is mydata.csv that I have mentioned under ‘load data’ section in loader.ctl .
P.N : I am using my personal oracle installed on windows Pc. not using any n/w resources to access oracle DB
Now I know we need to invoke...
|
by: jith87 |
last post by:
hi,
i am importing a text file into oracle database using sql loader.i need to ommit the first and last records of the text file while importing... can anybody help????
this is my text file...
A: Removable 0.0%
C: Fixed NTFS 39.06 GB 26.10 GB 66.8%
D: Fixed NTFS 43.95 GB 30.44 GB 69.3%
E:...
|
by: Tomo |
last post by:
I'm trying to import text file into some oracle table.
I created control file, and text file, create table ..and run sqlldr80 from
command promt..
Imort was not succesfull..error occurs..sql*loader-524:partial record found
at end of data file (proba.ctl)
See what i done, and please help me..
CREATING TABLE
*******************
create tabale example(
column1 number(3),
|
by: E11esar |
last post by:
Hello there.
I'm having several issues with regards to loading data into an Oracle database. I am developing in ASP.Net with C# and the source data is in a CSV file.
What I am looking for is to find the best approach people on here have found to be the most efficient way to load the data within these boundaries. I don't want to load all of the CSV data but I do need to load about 70% of it; maybe a little more and the CSV file itself...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |