“MySQL Output CSV” Respostas de código

MySQL Output CSV

-- If you are using linux,

SELECT id, filename
FROM attachments
INTO OUTFILE '/tmp/results.csv'
FIELDS TERMINATED BY ','
ENCLOSED BY '"'
LINES TERMINATED BY '\n';
-- and find the csv file /tmp
GutoTrosla

Exportar a tabela MySQL para arquivar

mysqldump db_name tbl_name;
Yucky Yak

Respostas semelhantes a “MySQL Output CSV”

Perguntas semelhantes a “MySQL Output CSV”

Mais respostas relacionadas para “MySQL Output CSV” em Sql

Procure respostas de código populares por idioma

Procurar outros idiomas de código