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

Announcements
Only at Qlik Connect! Guest keynote Jesse Cole shares his secrets for daring to be different. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Delete from DB based on condition

Hi,

I need to load an excel file to DB based on Batch_Id , but before doing so , I need to check if the Batch_id is already present in the DB or not. If present , data must be deleted from the DB and load , if not present , simply load. Is there a way to delete and load ?

 

Thanks,

Suman

Labels (2)
1 Solution

Accepted Solutions
manodwhb
Champion II
Champion II

@Skp22,you need to spit the two different flow and by doing left outer join in tMap or tJoin. one for delete and another one for insert.

View solution in original post

1 Reply
manodwhb
Champion II
Champion II

@Skp22,you need to spit the two different flow and by doing left outer join in tMap or tJoin. one for delete and another one for insert.