Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Streamlining user types in Qlik Cloud capacity-based subscriptions: Read the Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How Do i Catch Deleted Row Source DB ??

SourceDB : ERP_Prod

TargetDB  : ERP_Dev

 

[ Problem ]

every night, migration sourceDB to targetDB (to Motivate)

but, if sourceDB A table row is deleted. (ex. row : sale_num : 20200427 ... ~~~ ... )

targetDB A table is still remain row (sale_num : 20200427 ~~~ )

 

[ Desire ]

if deleted row from sourceDB then also targetDB row deleted.

 

[ Solution(my) ]

before migration, drop table and then etl job.

but this solution is so heavy and take a long time.

 

can i get solution?

 

 

 

Labels (3)
1 Solution

Accepted Solutions
manodwhb
Champion II
Champion II

@Moe , Take target table as a main and Source table as lookup and do inner join on key column and take inner join rejects in tmap and then load into a temp table and delete the records based temp table to target table.

View solution in original post

1 Reply
manodwhb
Champion II
Champion II

@Moe , Take target table as a main and Source table as lookup and do inner join on key column and take inner join rejects in tmap and then load into a temp table and delete the records based temp table to target table.