MySQL Forums
Forum List  »  French

Comment importer des NULL dans mysql ?
Posted by: Benoît Bossard
Date: September 15, 2010 01:21AM

Salut

Quel est le moyen qui occupera le moins d'espace disque dans un fichier texte pour que la valeur NULL soit importée telle quelle ?

J'ai 300000 lignes et 75 colonnes et énormément de valeurs NULL soit 4 caractères à chaque fois... J'ai presque 60% de NULL dans mon fichier.

Y a t il une astuce ?

J'utilise :

mysqlimport --lines-terminated-by="\r\n" --delete -L -ulogin -ppassword -v -hmysql5-1.bdb base matable.tab

Options: ReplyQuote


Subject
Views
Written By
Posted
Comment importer des NULL dans mysql ?
4602
September 15, 2010 01:21AM


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.