Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Varchars by SQL*Loader

Varchars by SQL*Loader

From: Javier Morales <Javier_at_infojobs.net>
Date: Thu, 9 Nov 2000 11:15:50 +0100
Message-Id: <10675.121543@fatcity.com>


Hi,

I try to load from a file that contains one field up to 250 chars, I = tried
that controlfile...

load data
infile 'e:\oracle\paco\esp_ij011.txt'
append
into table infile_traducciones_esp
(pagina_cfm char terminated by '|', orden char terminated by '|',=20  id_txt char(5), texto varchar)

and the file format is that...

acuerdos.cfm|100|17585|InfoJobs.net - Premios y menciones
acuerdos.cfm|200|17586|Portada &gt; Sobre InfoJobs.net &gt; Acuerdos
acuerdos.cfm|300|17587|Sobre InfoJobs.net
acuerdos.cfm|400|17588|&nbsp; Acuerdos
acuerdos.cfm|500|17589|InfoJobs.net desarrolla en julio del 2000 los
servicios de bolsa de empleo para e-moci&oacute;n, el portal wap de Telef&oacute;nica. Este servicio consta de un mne&uacute; principal = desde
el que se puede acceder a los tres apartados disponibles: ofertas destacadas, buscador de ofertas y datos y estad&iacute;sticas, cuya informaci&oacute;n se actualiza en tiempo real.

The problem is that I find the data truncated BY THE BEGINNING !! :( = ...
that way...)

SVRMGR> select * from infile_traducciones_esp where rownum<=3D5;

PAGINA_CFM                   ORDEN      ID_TXT     TEXTO
--------------------------------------- ---------- ----------

-----------------------------------------------
acuerdos.cfm 100 17585 nfoJobs.net - Premios y
menciones
acuerdos.cfm                     200      17586 ortada &gt; Sobre
InfoJobs.net &gt; Acuerdos
acuerdos.cfm                     300      17587 obre InfoJobs.net

acuerdos.cfm                     400      17588 nbsp; Acuerdos

acuerdos.cfm                     500      17589 nfoJobs.net desarrolla =
en
julio del 2000 los servicios de bolsa de empleo para e

so, that's the best I got from it. I tried to change the ID_TXT field = to
"integer", and "char terminated by '|') but the result is even worst...

SVRMGR> select * from infile_traducciones_esp where rownum=3D1;

PAGINA_CFM                   ORDEN      ID_TXT     TEXTO
--------------------------------------- ---------- ----------

-----------------------------------------------
acuerdos.cfm 100 17585 foJobs.net - Premios y
menciones

any suggestions???

Thanks!



 Javier Morales - javier_at_infojobs.net
 Administraci=D5n Bases de Datos Oracle - InfoJobs.net Received on Thu Nov 09 2000 - 04:15:50 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US