MySQL Forums
Forum List  »  Italian

Re: Schedulazione LOAD DATA LOCAL INFILE su server remoto
Posted by: max dix
Date: December 27, 2007 07:32AM

questo รจ molto semplice
se l'ordine delle colonne nel file txt non corrisponde all' ordine delle colonne presenti nella tabella , una lista delle colonne istruisce Mysql come fare in mach up
ex:
LOAD DATA INFILE file.txt INTO TABLE tuatabella (campo2,campo1,campo5)

dove campo2,campo1,campo5 sono l'ordine dei campi nel file txt

nella guida di Mysql trovi tutta l'istruzione completa, cmq

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Schedulazione LOAD DATA LOCAL INFILE su server remoto
4308
December 27, 2007 07:32AM


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.