Skip to content

shaween18/softdeleteADF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

softdeleteADF

I have provided the templates for the pipeline. It includes the datasets, linked services, and pipeline.

The entire BackupContacts Pipeline can be found in the pipeline folder. Please create the linked services and the integration datasets first.

Steps for creation of watermark table:

  1. Create a watermark table in SSMS:

     CREATE TABLE [dbo].[SqlTableWatermark](
     [TableName] [varchar](255) NULL,
     [WatermarkValue] [datetime] NULL
     )
    
  2. Insert the TableName, along with an arbitrary date value for the WatermarkValue provided below:

     INSERT INTO SQLTableWatermark(TableName, WatermarkValue)
     VALUES ('contacts', '1970/01/01')
    
  3. Create a stored procedure that updates the last modified date. For the purposes of this demo, I have kept it very simple, but please feel free to add anything else.

     CREATE PROCEDURE [dbo].[update_sqltablewatermark] @LastModifiedtime datetime, @TableName varchar(50)
     AS
    
     BEGIN
    
      UPDATE SqlTableWatermark
     SET [WatermarkValue] = @LastModifiedtime
     WHERE [TableName] = @TableName
    
     END
    

Screenshots of the pipeline are provided in the Screenshots folder for each step of the pipeline (Lookup activity, Copy data Activity, and Stored procedure activity).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published