943,993 Members | Top Members by Rank

Ad:
  • MySQL Discussion Thread
  • Unsolved
  • Views: 16679
  • MySQL RSS
Aug 1st, 2005
0

how to update data in mysql table using data from an excel table

Expand Post »
i get an excel report each month,

There are two columns (person`s name and Salary)
in this month report there was 99 persons.

my question is , if in next month excel report there are less persons...say 75, and also 23 persons raised their salary..

how can i updatae this changes in a mysql table that i have this mysql table has the exact same two columns and the exact same information i have in excel...

is there a way to do this?

Please help
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
escolta is offline Offline
6 posts
since Jul 2005
Aug 3rd, 2005
0

Re: how to update data in mysql table using data from an excel table

Do you want the whole process to be automated?

If that is the case, you could use the Excel API and convert the Excel file to some program understandable text format and write a program to extract and write the info to the database.

------------------------

Programming ( Assignment / Project ) Help
Reputation Points: 10
Solved Threads: 0
Light Poster
proghelper is offline Offline
28 posts
since Jun 2005
Mar 24th, 2006
0

Re: how to update data in mysql table using data from an excel table

has anyone already written a program that does this that i could use?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
randi is offline Offline
1 posts
since Mar 2006
Mar 24th, 2006
0

Re: how to update data in mysql table using data from an excel table

Yes, you can script a solution. The question then is, what programming languages are you comfortable with? If you are not a programmer, then you need to find one.

You can use ODBC drivers to connect directly to an Excel file. You can then iterate the rows just like a normal SQL table. So your code would iterate the rows in Excel, and update the MySQL db as necessary.

Once you know what language you prefer to use, you should post in the appropriate programming forum--your question is really a programming question, not a database question.
Reputation Points: 36
Solved Threads: 6
Posting Whiz
Troy is offline Offline
354 posts
since Jun 2005
Dec 5th, 2008
0

Re: how to update data in mysql table using data from an excel table

write a program to update a data using jsp
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ss.jagadish is offline Offline
2 posts
since Dec 2008
Dec 5th, 2008
0

Re: how to update data in mysql table using data from an excel table

It has to show in a table using html code,i tried but am getting error.Please reply
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ss.jagadish is offline Offline
2 posts
since Dec 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in MySQL Forum Timeline: Get customers_info_date_account_created
Next Thread in MySQL Forum Timeline: Database Design Question





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC