<?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: Using context variable in postgresql statement in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Using-context-variable-in-postgresql-statement/m-p/2200257#M2799</link>
    <description>I have updated the post with the real where clause.
&lt;BR /&gt;There is no error.&amp;nbsp;
&lt;BR /&gt;It seems that it does not filter by the context variable.
&lt;BR /&gt;I tested the context variable with tjava output and context variable is working fine.</description>
    <pubDate>Fri, 27 Jan 2017 16:59:40 GMT</pubDate>
    <dc:creator>dwhdeveloper</dc:creator>
    <dc:date>2017-01-27T16:59:40Z</dc:date>
    <item>
      <title>Using context variable in postgresql statement</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-context-variable-in-postgresql-statement/m-p/2200255#M2797</link>
      <description>I have created a context variable and i am trying to use it in postgresql input&amp;nbsp;&lt;BR /&gt;In where clause I&amp;nbsp;&lt;BR /&gt;p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px '.SF NS Text'} span.s1 {color: #4237b0} span.s2 {color: #c13500}&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face=".SF NS Text"&gt;where&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT face=".SF NS Text"&gt; \"dwh01\".\"stg01\".\"table_name\".\"load_ts\"&lt;/FONT&gt;&lt;/FONT&gt;&amp;gt;&amp;nbsp;&lt;FONT size="1"&gt;&lt;FONT face=".SF NS Text"&gt;'" &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT face=".SF NS Text"&gt;+&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT face=".SF NS Text"&gt; TalendDate.formatDate("yyyy&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT face=".SF NS Text"&gt;-&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT face=".SF NS Text"&gt;MM&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT face=".SF NS Text"&gt;-&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT face=".SF NS Text"&gt;dd HH:mm:ss", context.load_ts) &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT face=".SF NS Text"&gt;+&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT face=".SF NS Text"&gt; "'&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;It is not able to read my where statement.&amp;nbsp;&lt;BR /&gt;Similar statement in mysql was working fine.&amp;nbsp;&lt;BR /&gt;Is there a different way to use context variable in postresql ?&amp;nbsp;</description>
      <pubDate>Thu, 26 Jan 2017 12:36:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-context-variable-in-postgresql-statement/m-p/2200255#M2797</guid>
      <dc:creator>dwhdeveloper</dc:creator>
      <dc:date>2017-01-26T12:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: Using context variable in postgresql statement</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-context-variable-in-postgresql-statement/m-p/2200256#M2798</link>
      <description>Hi,&lt;BR /&gt;Is it the complete where clause?&lt;BR /&gt;Do you have a compile error or a runtime error? Which one?</description>
      <pubDate>Thu, 26 Jan 2017 14:20:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-context-variable-in-postgresql-statement/m-p/2200256#M2798</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-01-26T14:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Using context variable in postgresql statement</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-context-variable-in-postgresql-statement/m-p/2200257#M2799</link>
      <description>I have updated the post with the real where clause.
&lt;BR /&gt;There is no error.&amp;nbsp;
&lt;BR /&gt;It seems that it does not filter by the context variable.
&lt;BR /&gt;I tested the context variable with tjava output and context variable is working fine.</description>
      <pubDate>Fri, 27 Jan 2017 16:59:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-context-variable-in-postgresql-statement/m-p/2200257#M2799</guid>
      <dc:creator>dwhdeveloper</dc:creator>
      <dc:date>2017-01-27T16:59:40Z</dc:date>
    </item>
  </channel>
</rss>

