2012년 4월 5일 목요일

[MySql] select 결과 csv 로


예:
mysql> SELECT * INTO OUTFILE 'e:\select_result.CSV' FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"' LINES TERMINATED BY '\n' from testbody whe
re testname like "92---JNP%";