File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes What is the easiest way to dump a Table into text file? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "What is the easiest way to dump a Table into text file?" Watch "What is the easiest way to dump a Table into text file?" New topic
Author

What is the easiest way to dump a Table into text file?

Stephen Wei
Ranch Hand

Joined: Oct 09, 2001
Posts: 73
Hi:
Can someone teach me what is the easiest way to dump the whole table data into a text file?
I am using JDBC and PostgreSql, is there any API I can use, or build in SQl? Do I need to write my own dumpTable method?
Thank!


Sun Certified Programmer for Java Platform
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What is the easiest way to dump a Table into text file?
 
Similar Threads
Copy Mysql Database using mysqldump utility
read string from textfile into array
Color setting
Number of lines in the text file
Writing data into *.txt file using java