tablas temporales
Publicado por SERGIO FLORES (3 intervenciones) el 08/02/2003 00:31:44
tengo que agregar un registro a una tabla con ciertos datos modificados para no producir duplicidad, en INFORMIX yo lo realizo de la sgte. forma
select * from tabla where campo1 = datox into temp tmp_temporal with no log;
luego modifico los datos en la tabla temporal y las agrego a mi tabla original. EN ORACLE NO SE COMO HACERLO, NI SIQUIERA SE COMO PUEDO VER LA ESTRUCTURA DE LA TABLA PARA CREARLA IGUAL Y MAS RAPIDO.
NO SE SI ORACLE ME PERMITE TRABAJAR CON TABLAS TEMPORALES. PORQUE AUNQUE ESTOY BUSCANDO Y NO LO ENCUENTRO. REQUIERO DE VUESTRA AYUDA.
AGRADECIDO
SERGIO FLORES
select * from tabla where campo1 = datox into temp tmp_temporal with no log;
luego modifico los datos en la tabla temporal y las agrego a mi tabla original. EN ORACLE NO SE COMO HACERLO, NI SIQUIERA SE COMO PUEDO VER LA ESTRUCTURA DE LA TABLA PARA CREARLA IGUAL Y MAS RAPIDO.
NO SE SI ORACLE ME PERMITE TRABAJAR CON TABLAS TEMPORALES. PORQUE AUNQUE ESTOY BUSCANDO Y NO LO ENCUENTRO. REQUIERO DE VUESTRA AYUDA.
AGRADECIDO
SERGIO FLORES
Valora esta pregunta


0
