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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to input the entire query from file to tDBInput

Hi,

 

Can we dynamically input query to tDBInput.

I mean to say, I will store list of queries in a file having same output schema.

tFileInputExcel--->row1(main)--->tFlowTolerate--->iterate-->tDBInput

So, query part of tDBInput has  to take query from the iteration.

I tried putting " '" + globalMap.get("row1.SqlQuery") + "' "

Am I going wrong, anyway I got error doing this way.

 

Can I have some alternate solution?

 

 

Thanks in advance,

Meghana.

Labels (2)
11 Replies
Anonymous
Not applicable
Author

It is not working. 

 

Can u please try this.

 

Thanks.

Anonymous
Not applicable
Author

Issue solved.

 

The solution is 

(String)globalMap.get("row2.SqlQuery")

without double quotes.

 

 

Thanks,

Meghana.