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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tOracle Output show querry

Is there a way to print the querry used in tOracle Output component?

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hello,

Here is a global variable tOracleoutput.Query which is the query statement processed. This is an After variable and it returns a string

 

Note: You have to check the advanced setting "Enable debug mode" for that globalMap variable to be populated.

0683p000009Lr41.png

Best regards

Sabrina

 

 

View solution in original post

4 Replies
Anonymous
Not applicable
Author

Hello,

Here is a global variable tOracleoutput.Query which is the query statement processed. This is an After variable and it returns a string

 

Note: You have to check the advanced setting "Enable debug mode" for that globalMap variable to be populated.

0683p000009Lr41.png

Best regards

Sabrina

 

 
Anonymous
Not applicable
Author

Hello,

You can print out the query on to the console by using System.out.println(((String)globalMap.get("tOracleOutput_1_QUERY"))); in the tJava component.

Let us know if it is OK with you.

Best regards

Sabrina

Anonymous
Not applicable
Author

After I enabled debug mode in the component it works
Anonymous
Not applicable
Author

Hello,

Great it works. Feel free to let us know if there is any further help we can give.

Best regards

Sabrina