How to change source data type string to datetime in ADF pipeline

Lilly W 130 Reputation points
2023-02-05T13:47:21.2433333+00:00

How do I change a string data type in a blob file to a datetime to map it to a datetime column to the SQL database sink in a Copy Data task in an ADF pipeline?

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

Accepted answer
  1. Nandan Hegde 29,886 Reputation points MVP
    2023-02-06T04:21:10.52+00:00

    Hey, Sorry for any confusion. I meant the JSON code of the ADF pipeline :

    User's image

    There would be mappings and data types between Source and sink :

    User's image

    Update the type for the required column

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful