MySQL Forums
Forum List  »  Spanish

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

Perfecto Juan.

Ojalá todos los que vienen solicitando ayuda hicieran esto para poder ayudarlos mejor.

Con respecto a tu problema solo debes agregar la sentencia

"SET FOREIGN_KEY_CHECKS=0;"

Justo al inicio de tu script o antes del LOAD DATA.

___________________________
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
1003
October 26, 2012 03:03PM


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.