Link to home
Start Free TrialLog in
Avatar of Cristi_E
Cristi_EFlag for Romania

asked on

Copy data from MySql table to a text file

Hello!
   How can i copy data from MySql table to a text file using SQL commands?
Avatar of Raja Jegan R
Raja Jegan R
Flag of India image

This should help you out:

SELECT ... INTO OUTFILE 'file_name'

Kindly refer below for more options and references:

http://dev.mysql.com/doc/refman/5.0/en/select.html
Avatar of Cristi_E

ASKER

Can you help me with some sample code?    I'm not too fammiliar with SQL.

Thanks in advance!
ASKER CERTIFIED SOLUTION
Avatar of Raja Jegan R
Raja Jegan R
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial