Table2Text is a free tool helpful in case you want to export data from a database to csv file.
This program let you export the data to a CSV file from any OBDC database. Export operations can be performed via command line.
table2text.exe DSN=odbcdsn;USER=username;PASSWORD=password;TABLE=table_name;FILE=c: est.csv
License : Freeware