MySQL Forums
Forum List  »  MySQL for Excel

Retain leading zeros
Posted by: Blair Benjamin
Date: April 08, 2015 09:43AM


I just started using MySQL for Excel in order to manage my MySQL data and databases with Excel. I connected successfully, but when I chose the option to Edit MySQL data, it loaded my data fine but one of my fields (the primary key) had leading zeros stripped out by Excel. The field is Varchar in my MySQL database. How can I prevent Excel from modifying my data as such? It is imperative that the leading zeros remain, as they represent ID numbers. Thanks for any tips.

Options: ReplyQuote

Written By
Retain leading zeros
April 08, 2015 09:43AM
April 16, 2015 01:42PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.