Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to request Max(Primary Key) from Db and assign to variable in TOS

Hi All,

 

How can we request Max(PK) from DB and assign to a variable and use this variable in tmap numeric.seq.

If someone can explain this with screenshot on how job to be designed it would be great.

 

Input table DB-Oracle

Output Table DB-Mysql

Labels (2)
1 Reply
vapukov
Master II
Master II

HI @pabburi 

 

you just need to search! 🙂 all already here!

 

0683p000009M3vh.png

 

 

and you will have a lot of answers to your question:

 

0683p000009M3vm.png

 

https://community.talend.com/t5/Design-and-Development/store-the-dynamic-values-in-context-variable/...

 

https://community.talend.com/t5/Design-and-Development/resolved-SELECT-query-from-tPostgresqlInput-a...

 

https://community.talend.com/t5/Design-and-Development/how-to-save-a-value-from-table-to-context-var...

 

 

 

but, this is not all! 🙂

 

Talend Team make great work for us - they share demo projects with each Studio! all what we need it just import it:

0683p000009M3vr.png

 

and go thru all examples:

0683p000009M3mR.png

 

 

DEMO project is really Must See before any other future questions, it an excellent resource for studying

 

another old, but useful resource - https://www.talendbyexample.com/

 

Take a look! and community members will be happy to help you with many troubles and problem during your tests!

 

with best regards, Vlad