Revision [1733]

Last edited on 2008-05-26 23:03:29 by WikiAdmin
Additions:
select * from table_name into outfile 'table_name.csv' fields terminated by ',' enclosed by '"';
Deletions:
select * from table_name into outfile 'table_name.csv' fields terminated by ',';


Revision [1732]

Edited on 2008-05-26 22:56:58 by WikiAdmin
Additions:
Use mysqlimport. Note that table name is read by removing the .txt extension from the import text file.
mysqlimport --fields-terminated-by=',' --fields-enclosed-by='"' db_name table_name.txt
Deletions:
use mysqlimport


Revision [1731]

The oldest known version of this page was created on 2008-05-26 22:47:28 by WikiAdmin
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki