When using a Copy Activity the output seems to take the leading zero off - Please help

Mike Kiser 1,531 Reputation points
2021-03-16T23:50:17.953+00:00

Hi @Nasreen Akter @MartinJaffer-MSFT @HimanshuSinha-msft
In a COPY Activity I am reading a JSON file which has as the first item is employeeid such as 010004.
Most of the employee id's begin with a ZERO. My issue is that when the Copy Sink is an Excel spreadsheet and the employee is copied without the leading zero, such as 10004. I think Copy this Spreadsheet into a DB Table. In the DB Table the employee id has NO leading zero.

How can I get the leading zero back into the COPY Output so that the employee id is 010004 and the ERP will recognize it?

Thanks!!
Mike

78521-image.png

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,542 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Nasreen Akter 10,746 Reputation points
    2021-03-17T00:33:30.997+00:00