Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
Harich
Contributor II
Contributor II

How use implicit context load using database?

Hi ,

I been using talend since few days i came across context variables using explicitly and loading path and values from file implicitly but im not able to do from database as implicit context. can any one please resolve it. Is there any prerequisite before using it.

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable

Hi

First of all, you should create a table in DB, the table has two fields: key and value, the stored data looks like:

key value

varName1 value1

varName2 value2

...

In the job, use a tDBInput component to query data from the table, on the schema, define two columns: key and value.

 

the query on tDBInput:

"select key, value from tableName"

 

and link tDBInput to tContextLoad:

tDBinput--main--tContextLoad

|onsubjobok

other subjob

 

Regards

Shong

 

View solution in original post

2 Replies
Anonymous
Not applicable

Hi

First of all, you should create a table in DB, the table has two fields: key and value, the stored data looks like:

key value

varName1 value1

varName2 value2

...

In the job, use a tDBInput component to query data from the table, on the schema, define two columns: key and value.

 

the query on tDBInput:

"select key, value from tableName"

 

and link tDBInput to tContextLoad:

tDBinput--main--tContextLoad

|onsubjobok

other subjob

 

Regards

Shong

 

Harich
Contributor II
Contributor II
Author

Thank you it really helped me without Confusion.