Meaningless Drivel is fun!*
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 Murach's Java Servlets and JSP this week in the Servlets 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
Number of lines in the text file
Copy Mysql Database using mysqldump utility
Color setting
Writing data into *.txt file using java
read string from textfile into array