>Hola a todos, necesito una clase o un metodo que me transforme el
>resultset de una consulta a un archivo de tipo txt, gracias.
He is asking:
>Hello everyone:
>I need a class or method that transforms a ResultSet from a query to a text file. Thanks.
I presume you know how to do retrieve a VARCHAR field from an SQL
database. If not see http://mindprod.com/jgloss//jdbc.html
That will get the field into a String. Now your problem is how to
write the String into a text file of a desired encoding.
See http://mindprod.com/applet/fileio.html to generate you the code.
See http://mindprod.com/jgloss/encoding.html to help select which
encoding you want to use.

Signature
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
Roedy Green - 18 Jul 2007 08:17 GMT
On Wed, 18 Jul 2007 07:10:05 GMT, Roedy Green
<see_website@mindprod.com.invalid> wrote, quoted or indirectly quoted
someone who said :
>I presume you know how to do retrieve a VARCHAR field from an SQL
>database. If not see http://mindprod.com/jgloss//jdbc.html
oops. That should read http://mindprod.com/jgloss/jdbc.html

Signature
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com