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
This is how you can do it from DB2 client.
Open the Command Editor and Run the select Query in the Commands Tab.
Open the corresponding Query Results Tab
Then from Menu --> Selected --> Export