Sounds like the data type of the column is int
. You will need a string data type for the leading zero to be maintained.
Else, to assist with BULK INSERT questions, it helps a lot if you include:
- The CREATE TABLE statement for your target table.
- You attach a sample file that demonstrates the problem. (We need to see the exact bytes, so including it as text in the post is not a good idea.)
- Any format file you are using.
- The complete statement as you are running it right now.