Simply put this at the end of your select statement
INTO OUTFILE '/tmp/report.txt'
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
LINES TERMINATED BY '\n'
Thursday, November 22, 2007
Subscribe to:
Posts (Atom)
Things We All Should Know
Unix Admin tit bits