Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi and welcome to Talend.
You can set a global var with tSetGlobalVar (for example MyVar) and then pass the value to the query:
Select * from V1 where f1 = "+globalMap.get("MyVar")+"
use a context rather than a global variable.
"select * from where f1 = '" + context.contextname + "'"