Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Writing Database output to a file

 
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: 9362
11
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.
 
I yam what I yam and that's all that I yam - the great philosopher Popeye. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!