|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Database Discussion Forum This is the place to find help resolving those nagging questions you have about implementing and using all kinds of databases. Need help writing a query? Need an opinion on Oracle? Post here! |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Not sure what you're asking for here.
phpMyAdmin will directly import data from CSV files into MySQL. You can easily setup your CSV files in the necessary format for import by editing them in Excel or a text editor using a macro. To figure out exactly what the required format is, put in a couple of rows manually and export them to CSV. Number of fields means number of columns in your table. |
|
||||
|
When I tried to import, I received this error:
MySQL said: Documentation #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Name.ID, Name.EMAIL, Name.MEMBER_TYPE, Name.CATEGORY, Name.TITLE so I need to change the heading/field names?? I think the files were taken from Crystal Reports, if that matters. Also, since I have several files which could be different tables, could I save time editing with Access then importing? Last edited by vfaulkner; 06-29-2009 at 08:30 PM. |
|
||||
|
Quote:
However, if you don't have a large number of tables to import, I'd recommend manually editing all of the column headers to get rid of all caps. Just make sure they're meaningful to you, and don't contain any spaces or unusual characters (e.g. try mbr_name, mbr_email, mbr_type, mbr_category, etc... a little time up front in getting the table right will save you a lot of time in the future. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cms capable of handling db import | MattE | Database Discussion Forum | 2 | 08-07-2008 07:39 AM |
| phpMyAdmin - Export & Import | edhan | Database Discussion Forum | 5 | 06-04-2008 11:03 PM |
| Recommend you an Import Excel tool | samnav | Database Discussion Forum | 0 | 04-02-2008 06:46 AM |
| How to import a .bak file into a new SQL server | spenland | Database Discussion Forum | 15 | 08-24-2007 08:29 PM |
| Import URL Addresses into Excel | mkinzie1 | Yahoo! Discussion Forum | 2 | 02-20-2007 03:16 PM |
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |