Exporting result of select statement to CSV format in DB2

后端 未结 6 653
感情败类
感情败类 2020-12-24 02:01

Is there any way by which we can export the result of a select statment to CSV file, just like in MySQL.

MySQL Command;

SELECT col1,col2,coln into OU         


        
6条回答
  •  借酒劲吻你
    2020-12-24 02:33

    This is how you can do it from DB2 client.

    1. Open the Command Editor and Run the select Query in the Commands Tab.

    2. Open the corresponding Query Results Tab

    3. Then from Menu --> Selected --> Export

提交回复
热议问题