Text File to Java to Oracle
Please support our Java advertiser: Programming Forums
Thread Solved
![]() |
Read the file for its data.
Then use that data to query the database: Run an UPDATE to record you want to update.
Learn how to read files.
Learn SQL.
Learn how to run queries with java.
Then use that data to query the database: Run an UPDATE to record you want to update.
Learn how to read files.
Learn SQL.
Learn how to run queries with java.
There are 3 ways to do things:
The right way, the wrong way,
And The Object Oriented Way.
When you do things your way, make sure you don't forget the Object Oriented Way
The right way, the wrong way,
And The Object Oriented Way.
When you do things your way, make sure you don't forget the Object Oriented Way
•
•
Posts: 27
Reputation:
Solved Threads: 2
•
•
•
•
I currently have a table in oracle which I have created, but need to take a text file (which I have used a fileChooser for) and then use this file to update the records in the oracle database. How would I go about this?
Thanks.
You need a update statement to update your table in oracle. See below for "Update" syntax:
UPDATE table
SET column = expression
WHERE predicates;
Also you google to find "update", you will find a lot of examples. :-)
. ![]() |
Similar Threads
Other Threads in the Java Forum
- Read Me:Access to any type of DB's possible (Visual Basic 4 / 5 / 6)
- swimming in popups, ugh (Viruses, Spyware and other Nasties)
- A agntsrvc.exe file error (Viruses, Spyware and other Nasties)
- Move out java code from jsp (Java)
Other Threads in the Java Forum
- Previous Thread: Weather forcast class
- Next Thread: NetBeans protected code
•
•
•
•
Views: 660 | Replies: 4 | Currently Viewing: 1 (0 members and 1 guests)






Linear Mode