Hello all,

Usually I back-up my tables importing them to .csv files.

What I do is I issue the following command :

mysqldump - h localhost -u
user -ppassword --tab="/tmp" --fields-terminated-by=";" database_name
table_Name > table.csv

This creates a file called table.csv by dumping all the contents of
table_Name of database_name database and separating their fields
with a ;.


What I would like to do is to do the same but with an SQL statement.
Meaning, I would like to dump just part of the table through a SQL
statement.

Is there any way to do it?


Thank you,

Carlos Fernando.


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to