I am trying to use PMA to upload data from Excel spreadsheet that has been converted to a CSV text file.
When the file is uploaded, the data appears to be placed in the wrong column ...it's all shifted left by 1 column. I believe this happens because there is, of course, an extra field in the database table for the primary key ...this column does not exist in the spreadsheet data. So, when the file data is inserted into the table, the "company" column data is overwritten by an auto-incrementing primary key integer. And the address info is under the Company column...and so on.
Co_ID .....Company .....Address....City....State.....
So, my question is how do I alter the spreadsheet so that I can save it as a CSV file in which every line starts with a comma. This would accomodate the Co_ID key field. I tried inserting a blank column into the spreadsheet...didn't work.
Ideas? THANKS in advance!