• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Writing csv files

 
Sunetra Sen
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I want to read data from the database and write it as a csv file which can then be downloaded by the user.
Is there any API available to write a csv file?

Please let me know.
Thanks,
Sunetra.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Sun JDBC Driver database lists 13 drivers that threat CSVs as databases, so you can write from one to the other.
 
Chetan Parekh
Ranch Hand
Posts: 3640
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check this out...

I have used custom database utility here, you can replace with yours or with JDBC code.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic