Home » RDBMS Server » Server Utilities » SQLLDR, do you know why? Pleasee¡¡
SQLLDR, do you know why? Pleasee¡¡ [message #71601] Wed, 27 November 2002 16:16 Go to next message
HoMmEr
Messages: 3
Registered: November 2002
Junior Member
I've this control file,

LOAD DATA
INFILE 'c:hommerf10.dat'
APPEND INTO TABLE estandar3
WHEN (cod_prod = 'SR6001')
(
cod_prod POSITION(1:6),
num_cli POSITION(07:14),
signo POSITION(15:15),
importe POSITION(16:22),
deci POSITION(23:24)
)

and when i put
"sqlldr
userid=system/manager@proyecto control=c:hommercmf1.ctl
log=c:hommercmf1.log
direct=true"

Dos says that everything is o.k.
-carga terminada- recuento de registros lógicos 16284-
But the log file is full of errors like "Registro 16: Desechado - todas las cláusulas WHEN han fallado", When clauses fails.

Evidently, this cod_prod is in the file, with others like SR0001, SR0201........
(By the way, can I put the 'like' in then when clause???)

WHY ?? Pleassse? As soon as posible¡¡
Thank you very much¡¡¡¡¡¡¡¡

Excuse me for my bad English¡¡
Re: SQLLDR, do you know why? Pleasee¡¡ [message #71606 is a reply to message #71601] Mon, 02 December 2002 12:26 Go to previous message
Anne Simms
Messages: 163
Registered: May 2002
Location: San Francisco, CA
Senior Member
You have to indicate as this: sqlldr userid control=cmf1.ctl data=filename

Let me know if this helps.
Previous Topic: OCP papers
Next Topic: SQL*LOADER
Goto Forum:
  


Current Time: Mon May 13 17:56:55 CDT 2024