Welcome Guest, Not a member yet? Register   Sign In
import excel to mysql
#11

[eluser]Dam1an[/eluser]
Well, we do try Smile

Ad it turns out using the quick reply really does make you faster lol
#12

[eluser]ray73864[/eluser]
or you can use MySQL's native 'LOAD DATA INFILE' which can take the csv file directly to the DB and insert/update records as required. It works a lot quicker than even trying to build up the query.
#13

[eluser]umefarooq[/eluser]
well library is working really fine im able to get my desired data but now facing more problem is that excel file also has address which already separated by commas for example

Code:
Gold Centre 1st Floor, Office No 16

after exporting to CSV file address is closed in double quotes like

Code:
"Gold Centre 1st Floor, Office No 16"

but when this data come to CSVReader library that is also splitting address also how can i avoid to split address between double quotes.
#14

[eluser]tomcode[/eluser]
You have to use another sign as delimiter (Wink in the csv files and in the library
#15

[eluser]TheFuzzy0ne[/eluser]
I think a tab would probably be the smartest delimiter to use.
#16

[eluser]umefarooq[/eluser]
well ; work really fine the only thing is client has to change the delimiter from the system regional settings
#17

[eluser]Monisha[/eluser]
Well.. I read this post from starting..
can anyone tell me about excel file import to mssql or mysql database..??
I didn't get any direct library or plugin.
please answer if somebody know about this..


Thanks in advance
#18

[eluser]TheFuzzy0ne[/eluser]
Are you wanting to import a CSV that represents the actual table, or just extract some of the data, and insert that into the database?
#19

[eluser]Monisha[/eluser]
My actual requirement is to import excel or CSV to MSSQL database. not to extract only...
any idea...???
#20

[eluser]TheFuzzy0ne[/eluser]
http://lmgtfy.com/?q=import+csv+mysql




Theme © iAndrew 2016 - Forum software by © MyBB