When I open a CSV exported from sqlite, excel erases the zeros which are codes. How can I keep the leading zeros?
migrated from stackoverflow.com Aug 18 '12 at 13:25
This question came from our site for professional and enthusiast programmers.
Import the column as Text or change the format to display the number. Reminder, the 0 at the left of number are not part of the number so 0001 is the number 1. If in your application 0001 is different from 1 then you are dealing with strings (or text) not numbers ...