MySQL Forums
Forum List  »  Newbie

LOAD DATA INFILE
Posted by: David Coffin
Date: June 08, 2005 05:32PM

Is there a way to get LOAD DATA INFILE to output in the first row the column names when exporting a file?

$query= "SELECT * FROM $g_table INTO OUTFILE \member.csv' FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'";

Options: ReplyQuote


Subject
Written By
Posted
LOAD DATA INFILE
June 08, 2005 05:32PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.