| Author |
export query from table column to text file
|
aypa genga
Greenhorn
Joined: Nov 26, 2008
Posts: 5
|
|
I want to export a single column of a table to a text file. How can i do it with a sql query.
Please help
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32644
|
|
|
Use a simple select statement, then write the results to the text file with a FileWriter or Formatter.
|
 |
avani vakharwala
Greenhorn
Joined: Jan 24, 2008
Posts: 6
|
|
|
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32644
|
|
avani vakharwala welcome to JavaRanch
And thank you.
|
 |
 |
|
|
subject: export query from table column to text file
|
|
|