LoginSignup
4
4

More than 5 years have passed since last update.

selectしたデータをcsvファイルで保存する

Last updated at Posted at 2015-08-05

以下のsqlでいけた

select hoge1, hoge2, hoge3, hoge4 from hoge_db.hoge_tb where del_flg = 0 and status = 1 into outfile "/usr/local/src/20150805.csv" fields terminated by',';
4
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4