File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes help with inserting a csv file into a database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "help with inserting a csv file into a database" Watch "help with inserting a csv file into a database" New topic
Author

help with inserting a csv file into a database

jason lunt
Greenhorn

Joined: Nov 20, 2002
Posts: 7
i need to read in a csv file , which is no problem .
but i need to retrive every first word of each line and then the second word of each line and so on then i need to send that information to a sql database i have no problems with the connection to the database.
but what i need is to be able to send the first word of each line into a table and a column and then send the second word of each line into the same table or into a diffrent table, if it is the same table i want the second word of each line to go into the same row as the first word but it would be in a diffrent coulmn name
couild someone please give me some solutions please
thanks jason
[ November 21, 2002: Message edited by: jason lunt ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: help with inserting a csv file into a database