An Azure service for ingesting, preparing, and transforming data at scale.
Hi Rohit Kulkarni ,
Thankyou for using Microsoft Q&A platform and thanks for posting your question here.
As I understand your query, you are trying to update your sql table STG.WATERMARK to have data in ERDAT column in the format of yyyymmdd . In this process, the pipeline is successfully getting executed but the date column still holds the value in this format: YYYY-MM-DD . Please let me know if that's not the case.
The issue here is datatype mismatch. The column
ERDATis of Date datatype , which is always supposed to store the data inYYYY-MM-DDformat.
It's not the issue with ADF pipeline. Even if you directly run the update query in the SQL table, you will find the same data is retaining without table getting updated . In order to store the data in any other format , kindly alter the column datatype as varchar with below command:
ALTER TABLE STG.WATERMARK
ALTER COLUMN ERDAT varchar(50);
Hope it helps. Kindly accept the answer by clicking on Accept answer button. Thankyou