We're a community of 1.1M IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,080,328 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

import excel file into sql

i have a excel file of hindi data.
i want to convert in sql database what i do?
please help me

7
Contributors
6
Replies
6 Days
Discussion Span
5 Months Ago
Last Updated
9
Views
navneet patel
Newbie Poster
1 post since Dec 2012
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

Which database? There are tools to help you.

pritaeas
Posting Prodigy
Moderator
9,534 posts since Jul 2006
Reputation Points: 1,194
Solved Threads: 1,494
Skill Endorsements: 98

I've worked with data from excel, preparing the data and converting it to csv using excel first then exporting it to database; it's the easiest way though. LOL :D But never had a chance to work with unicode. Maybe you should try it first, then if you had a problem with regards to the consistency of data, create a program to automate it for you. :)

Anyhow, I would like to know if you really intend to put this thread on PHP, and will be working with PHP. Or should this be on the Databases section.

gon1387
Posting Whiz in Training
233 posts since Jan 2011
Reputation Points: 32
Solved Threads: 37
Skill Endorsements: 3

it is posible by using load mysql command (which imports csv file data into database)

you will get the description of load command From the follwing url

http://dev.mysql.com/doc/refman/5.1/en/load-data.html

http://support.modwest.com/content/6/253/en/how-do-i-import-delimited-data-into-mysql.html

radhakrishna.p
Posting Whiz in Training
272 posts since Nov 2012
Reputation Points: 29
Solved Threads: 60
Skill Endorsements: 11

If you intend to place Hindi data into a DB, ensure that you have the correct charset and collation set for that particular DB. And for any subsequent php/html page for displaying the data.

diafol
Keep Smiling
Moderator
10,838 posts since Oct 2006
Reputation Points: 1,675
Solved Threads: 1,534
Skill Endorsements: 61

You can use this software to export your Excel file

dmsoft
Newbie Poster
3 posts since Feb 2008
Reputation Points: 10
Solved Threads: 1
Skill Endorsements: 0

Let’s break the issue in parts. What you want to do is to read data from an excel file and the second one is to save those data in DB.
I guess you already know how to do the second part (saving data in DB) so I will suggest for the first part (reading data from excel). For that thing I am using Spreadsheet_Excel_Reader
http://sourceforge.net/projects/phpexcelreader/files/Spreadsheet_Excel_Reader/2i/

The use is quite simple and I can get also data from excel from other languages than English as well. I believe that this is a very good class for reading excels.

jkon
Posting Whiz
387 posts since Jan 2009
Reputation Points: 124
Solved Threads: 63
Skill Endorsements: 4

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page generated in 0.0780 seconds using 2.66MB