Share via

ADF copy activity running select from sql server does not return data

arkiboys 9,711 Reputation points
2024-01-15T12:35:37.9033333+00:00

in sql server my query returns data usingthe where clause as you see here:

where
	mydatecolumn >= '2024-01-13 17:15:48.3759630 +00:00' and mydatecolumn < getdate()

In the source copy activity of ADF, this sql does not return data. It only returns data without the where clause. Any suggestions? Does ADF copy activity translate the above whereclause differently than when I run it in management studio of sql server? Thanks

Azure Data Factory
Azure Data Factory

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


Answer accepted by question author

Subashri Vasudevan 11,306 Reputation points Volunteer Moderator
2024-01-17T11:02:10.7366667+00:00

Hello @arkiboys In order to close this thread I am just reposting your fix here, as the original poster cannot accept his or her own answer

I was using the wrong date. All ok now

After you have corrected the column to correct column, the copy activity worked fine. Please accept this as answer so that it helps the community too. Thanks.

Was this answer helpful?

0 comments No comments

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.