LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 07-06-2005, 11:51 AM   #1
dr_sad
Member
 
Registered: Apr 2005
Location: Russia, West Sibirian town Surgut.
Distribution: SuSE 10.0
Posts: 38

Rep: Reputation: 15
Export MySQL table into MS Excel spreadsheet


Hi, all.
Help me, please.
I have a MySQL database on web server, and PERL scripts working whit it. All I need is a mechanism that can export a table from DB to client MS Excel spreadsheet and vice versa. It may be download/upload for user.
How can I generate MS Excel readable file on base of the MySQL table?
How can I read uploaded from user MS Excel file to insert date into MySQL table on PERL under Linux?

Thank You.
 
Old 07-06-2005, 12:56 PM   #2
deiussum
Member
 
Registered: Aug 2003
Location: Santa Clara, CA
Distribution: Slackware
Posts: 895

Rep: Reputation: 31
I don't know much about the Excel format, but it may be easier to conver to/from a CSV format. It's an easy format that you can probably already find tools to import/export to MySQL, and Excel can also import/export it. And if you can't find tools to import/export to MySQL, it's an easy enough format to write your own import/export for.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Open Office Spreadsheet -- Web Queries like Excel 1kyle Linux - Software 1 10-09-2005 07:06 PM
export .xls into a mysql table anyone? h/w Programming 1 03-17-2004 10:36 AM
Excel-like spreadsheet for Unix w/ ODBC Capability? sleepymish Linux - Newbie 3 01-12-2004 03:41 PM
How to import MS ACCESS Table including OLE filed into the MySQL Table ? myunicom Linux - General 1 11-28-2003 11:30 AM
mySQL and excel spreadsheet zuessh Linux - Software 1 06-12-2003 07:26 AM


All times are GMT -5. The time now is 03:21 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration