Solved

how to read data from oracle and display it in a txt file using java?

Posted on 2004-04-13
2
170 Views
Last Modified: 2010-03-31
how to read data from oracle and display it in a txt file using java?


thanks for your help

regards
0
Comment
Question by:vihar123
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 30

Expert Comment

by:Mayank S
ID: 10811727
What do you mean "display in a txt file"? Do you want to write it to a txt file or display it on the console?
0
 
LVL 30

Accepted Solution

by:
Mayank S earned 100 total points
ID: 10811735
BTW, some examples here:

Getting data from a ResultSet - http://www.javaalmanac.com/egs/java.sql/GetRsData.html

Writing to a file - http://www.javaalmanac.com/egs/java.io/WriteToFile.html

Have a look at the "Related Examples" as well (for both).

JDBC tutorial - http://java.sun.com/docs/books/tutorial/jdbc/
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question