Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Writing Database output to a file  RSS feed

 
Frank Black
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a a few database tables and I need a method that writes all of the data to a text file(preferably in the appropriate columns and rows)Can someone suggest where to start or where I could get some sample code?

Any help much appreciated.
 
Joe Ess
Bartender
Posts: 9417
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the place to start with databases is the Java Tutorial on JDBC. The other half of your puzzle is writing out the data, which is covered in the Reading and Writing part of the Java Tutorial.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!