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.
{count} votes

Answer accepted by question author
  1. Nandan Hegde 36,716 Reputation points MVP Volunteer Moderator
    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

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.