Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within I/O and Streams
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
I/O and Streams
Read the Records From Database and write the records into file
D Ravi Kumar
Greenhorn
Posts: 4
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi Guys,
My problem is How to read the records into database and write the recoreds into file
Thanks
Ravi
Aum Tao
Ranch Hand
Posts: 210
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Read java.io.* and java.sql.* from the javadocs and
also
HowToAskQuestionsOnJavaRanch
SCJP 1.4 85%
Bauke Scholtz
Ranch Hand
Posts: 2458
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Have you considered the DB's own export tool? Check the DB specific documentation for details. In for example MySQL you can use the SELECT INTO OUTFILE clause:
http://dev.mysql.com/doc/refman/5.1/en/select.html
Consider Paul's
rocket mass heater
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
read the records from database and write the text file
How to create stand alone java application
Rahul " The Architect " Mahindrakar is now also eclipsed Developer Cert Mountain
about B&S database file
Read from a file and write to database
More...