MySQL Forums
Forum List  »  Spanish

Re: HACER INSERT Y UPDATE CON LOAD DATA LOCAL INFILE
Posted by: Jesus Uzcanga
Date: October 25, 2012 07:23PM

Ok al parecer se resolvió tu problema inicial.

Ahora tienes un problema de integridad referencial.

No puedes editar o eliminar campos de una tabla que estén directamente enlazados con campos de otra tabla.

Si necesitas más ayuda con esto. Debes postear la estructura exacta y el contenido (solo algunos registros de ejemplo) de ambas tablas (las 2 a la que hace referencia el error)... Preferiblemente un script para yo poder crear la tabla e insertar los datos y generar el error.

Adicionalmente debes postear:

1.- El SELECT INTO OUTFILE que utilizas para crear el archivo de texto
2.- El archivo de texto
3.- El LOAD DATA INFILE que tu esas para cargar los datos

NOTA: Claro está que si entiendes lo que te dije sobre el error de integridad referencial y lo corriges no hace falta nada de esto!!!

___________________________
Ing. Jesús Alfredo Uzcanga
Twitter: @JesusUzcanga

We learn the 20% of what we HEAR,
the 50% of what we SEE,
the 80% of what we DO and
the 95% of what we TEACH.

____________________________________________________________
https://www.linkedin.com/in/jauzcanga/

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: HACER INSERT Y UPDATE CON LOAD DATA LOCAL INFILE
1454
October 25, 2012 07:23PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.