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

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] Context variable in SQL syntax

Hello.
Could anyone help me run the following SQL instruction please?
"SELECT *
FROM " + context.current_TABLE "

Context variable "current_TABLE" is defined in the parent job.
Which is the error in my SQL syntax ?
Thank you very much.
Labels (2)
10 Replies
Anonymous
Not applicable
Author

It must be a simple error.
Add a tContextDump just before your SQL call to check the values are set as you expect.