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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Update and Insert the records in the existing table

Hi guys,

 

I have design a job as in attached image.

 

Firstly, I clear the table and insert data.

 

Secondly, I update or insert data to the table but the process do not follow the order.

 

The first inputDB in starting state and can not finish.

 

Pls advice on this case, thank you so much.

 

0683p000009M4Vv.png

Labels (1)
1 Solution

Accepted Solutions
bhagyarekha
Creator II
Creator II

hi 

just give me sample input and out put you are expecting.both condition are mandatory to check?

see on first condition street >32 means lastname should be any length right, those you want to insert?or if you want to check lastname length go condition in column.

 

Use insert or update,first it inserts record in table,if the record is their it updates next

View solution in original post

3 Replies
bhagyarekha
Creator II
Creator II

Hi ,

As per my knowledge you should do insertion job, then you should go for on subjob trigger for next updating records

but when i see your screen shot,my question is what is the need for updating the records when the same input you are inserting in the table.

can you explain me what is your requirement 

Regards

rekha

 

Anonymous
Not applicable
Author

Thank you so much for quick reply.

 

I have two tMap output like in screenshot.

 

One i do check string length for Street, one I do for LastName.

 

I want to update row if record with same CUSTNO have both Street and LastName needed to be trimmed.

 

0683p000009M4UE.png

bhagyarekha
Creator II
Creator II

hi 

just give me sample input and out put you are expecting.both condition are mandatory to check?

see on first condition street >32 means lastname should be any length right, those you want to insert?or if you want to check lastname length go condition in column.

 

Use insert or update,first it inserts record in table,if the record is their it updates next