<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: tcontextload string doesnt load correctly in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tcontextload-string-doesnt-load-correctly/m-p/2212710#M10229</link>
    <description>&lt;P&gt;Can you post a screenshot of your job? The flow of components is quite important when working with changing context variables. We need to see where the context variable value is changed and when the component using it is used. I suspect that your query has already been fired before the context variable value is set. By the way, you do not need to cast context variables. I assume you have set it as a String. As such, it is fine without the casting.&lt;/P&gt;</description>
    <pubDate>Thu, 12 Dec 2019 16:22:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-12-12T16:22:47Z</dc:date>
    <item>
      <title>tcontextload string doesnt load correctly</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tcontextload-string-doesnt-load-correctly/m-p/2212709#M10228</link>
      <description>&lt;P&gt;Hi Talend community,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;For a query i need the last_load datetime.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;i did this using the following: tmssqlinput-&amp;gt; tcontextload. This works as expected&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-12-12_14-52-05.png" style="width: 670px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8lb.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144038iD27E56548D310D3C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8lb.png" alt="0683p000009M8lb.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;The issue im facing is that the where statement in the query below does not get the correct value from the contextload.(if i copy and paste the value into the where statement it works as expected)&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-12-12_14-54-13.png" style="width: 537px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8lg.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129923i8D912A580F704752/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8lg.png" alt="0683p000009M8lg.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;Am i missing a step in the process, or is the query not written right?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:51:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tcontextload-string-doesnt-load-correctly/m-p/2212709#M10228</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T03:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: tcontextload string doesnt load correctly</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tcontextload-string-doesnt-load-correctly/m-p/2212710#M10229</link>
      <description>&lt;P&gt;Can you post a screenshot of your job? The flow of components is quite important when working with changing context variables. We need to see where the context variable value is changed and when the component using it is used. I suspect that your query has already been fired before the context variable value is set. By the way, you do not need to cast context variables. I assume you have set it as a String. As such, it is fine without the casting.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2019 16:22:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tcontextload-string-doesnt-load-correctly/m-p/2212710#M10229</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-12T16:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: tcontextload string doesnt load correctly</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tcontextload-string-doesnt-load-correctly/m-p/2212711#M10230</link>
      <description>&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="job.png" style="width: 355px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8g8.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149107i9786A8679D0E6877/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8g8.png" alt="0683p000009M8g8.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;This is how the job looks at the moment&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2019 18:48:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tcontextload-string-doesnt-load-correctly/m-p/2212711#M10230</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-12T18:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: tcontextload string doesnt load correctly</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tcontextload-string-doesnt-load-correctly/m-p/2212712#M10231</link>
      <description>&lt;P&gt;Hi Henkiiee,&lt;/P&gt;&lt;P&gt;I guess single quote vs double quote is the problem...Talend looks for a " where as DB editors can work with a single quote('). In addition just ensure that your query when handed over as Dynamic SQL is in line with the underlying DB engine, for it to understand and execute.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2019 23:34:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tcontextload-string-doesnt-load-correctly/m-p/2212712#M10231</guid>
      <dc:creator>tnewbie</dc:creator>
      <dc:date>2019-12-12T23:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: tcontextload string doesnt load correctly</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tcontextload-string-doesnt-load-correctly/m-p/2212713#M10232</link>
      <description>&lt;P&gt;Can you show your query in your DB component? You are showing it in another tool.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2019 11:42:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tcontextload-string-doesnt-load-correctly/m-p/2212713#M10232</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-13T11:42:12Z</dc:date>
    </item>
  </channel>
</rss>

