I want to export data from an oracle database to a CSV file.
Please provide your inputs on this. A sample code would be appreciated.
Printable View
I want to export data from an oracle database to a CSV file.
Please provide your inputs on this. A sample code would be appreciated.
Did you try anything so far? At least can you read a table content of a database?
yes i did...i' able to connect to the database.
I just need a query which can get the database data and put it in a CSV format file. The database is oracle
So that mean you are looking how to write a query get data from the database, you want. That's far away from Java, that's related to database. You should search on the web if you don't know how to write a query or in a database forum. Actually you should know how to write a query depends on your requirement.