Buonasera a tutti,
utilizzo linux Fedora core 4 con Mysql 4.1.16.
Ho visto che effettuando il dump di un database usando la sintassi seguente: mysqldump --user=root --password=passw1 DB1 > /tmp/db1.sql
il file db1.sql presenta tutte le insert (tutti i records) in orizzontale, quindi non come singole insert.
Esiste una opzione per ottenere le insert nel file in verticale come esempio di seguito ?
INSERT INTO (CAMPO1, CAMPO2 CAMPON), VALUES(VALORE1, VALORE2, VALOREN);
INSERT INTO (CAMPO1, CAMPO2 CAMPON), VALUES(VALORE1, VALORE2, VALOREN);
INSERT INTO (CAMPO1, CAMPO2 CAMPON), VALUES(VALORE1, VALORE2, VALOREN);
INSERT INTO (CAMPO1, CAMPO2 CAMPON), VALUES(VALORE1, VALORE2, VALOREN);
Grazie
Lucia