duda, gracias a todos por respuesta
Publicado por sole (22 intervenciones) el 20/03/2008 15:40:37
tengo sqlldr usuario/pass@base control=ejemplo.ctl
el ctl es un ejemplo.ctl
load data
infile 'entrada.txt'
badfile 'errores.bad'
truncate
into table TABLA
fields terminated by ' '
TRAILING NULLCOLS
(
CAMPO1 char ( NULLIF CAMPO1="" ),
CAMPO2 char,
CAMPO3 char,
CAMPO4 Date "dd-mm-yyyy",
CAMPO5 char
);
me pueden ayudar como hacarlo por asp, como llamar para que cargue el TXT. le agradezco todo
bess
el ctl es un ejemplo.ctl
load data
infile 'entrada.txt'
badfile 'errores.bad'
truncate
into table TABLA
fields terminated by ' '
TRAILING NULLCOLS
(
CAMPO1 char ( NULLIF CAMPO1="" ),
CAMPO2 char,
CAMPO3 char,
CAMPO4 Date "dd-mm-yyyy",
CAMPO5 char
);
me pueden ayudar como hacarlo por asp, como llamar para que cargue el TXT. le agradezco todo
bess
Valora esta pregunta
0