Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Databases / July 2007

Tip: Looking for answers? Try searching our database.

mysql

Thread view: 
cesarcarrazana@gmail.com - 18 Jul 2007 00:15 GMT
Hola a todos, necesito una clase o un metodo que me transforme el
resultset de una consulta a un archivo de tipo txt, gracias.
Roedy Green - 18 Jul 2007 08:10 GMT
>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



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.