Can someone tell me if in db2 db is possible to export a table with column names included to CSV?
Example:
column1;column2;...;
1234435;asdasda;...;
...
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Based on the documentation for the EXPORT command, I’m guessing you can’t automatically put in the column names in the exported file. You can, however, specify which columns to export and what order to place them in.