Export data from db2 with column names

前端 未结 3 1995
旧时难觅i
旧时难觅i 2020-12-11 09:28

I want to export data from db2 tables to csv format.I also need that first row should be all the column names.

I have little success by using the following comand

3条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-11 09:41

    Insert the column names as the first row in your table.

    Use order by to make sure that the row with the column names comes out first.

提交回复
热议问题