Share via

Data Type Conversion

Mahesh 21 Reputation points
2022-05-09T06:37:10.677+00:00

I was trying to copy data from CSV to Sql table in Data Factory. The data contains date time column. I tried using copy activity but there are some null values in date time column, I am getting an error like invalid conversion from string to date time. Please help me to resolve it.

Azure Data Factory
Azure Data Factory

An Azure service for ingesting, preparing, and transforming data at scale.

0 comments No comments

Answer accepted by question author

Sreeju Nair 12,761 Reputation points
2022-05-09T07:37:03.31+00:00

is it null value or blank value in your csv? If it is null (not in quotes) or just empty (again with out quotes), it must work. Can you check this?

If it is not resolved, paste a sample data that causes the error.

Was 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.