| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Excel into SQL
Was wondering if their was a way to convert/inport excel data files into a MYSQL DB
__________________
24y-CW, 8y-HTML, 5y-PS, 8m-PHP And I never knew Photoshop could do HTML! You learn something every day. http://lexxboard.lurkerlordx.com/listcatagories.php |
|
#2
|
|||
|
|||
|
Sure, open the file in excel, save it as a CSV or Tab Delimited file, and import that file. You could even write a perl script to do all of that for you.
|
|
#3
|
|||
|
|||
|
tanks (and some munitions as well)
|
|
#4
|
|||
|
|||
|
php my admin isnt seeming to import the file do you think i could have it configured wrong?
Is it posiblei could send you a sampel of my cvs file to seei f exel converted it incorectly...or mabe im just not looking in the right place to impost a csv file |
|
#5
|
|||
|
|||
|
Try it with a tab delimited file.
When you import with phpMyAdmin it gives options about the field delimiters. With a tab delimted file the delimiter is \t |
|
#6
|
|||
|
|||
|
thanks
seems to work for the most part but my early test really set the auto icrement value high is their a way to reset the primary key increment value to re count from 0 on ann the fields |
|
#7
|
|||
|
|||
|
truncate the table.
|
![]() |
| Viewing: Tutorialized Forums > Databases > SQL Basics > Excel into SQL |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|