<?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: tDBInput_1 (JDBC) SQL Builder Where with Global Variable date  type in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tDBInput-1-JDBC-SQL-Builder-Where-with-Global-Variable-date-type/m-p/2325249#M94865</link>
    <description>&lt;P&gt;Really?? no one knows? ... shocking !&lt;/P&gt;</description>
    <pubDate>Mon, 22 Feb 2021 08:05:04 GMT</pubDate>
    <dc:creator>CostinMarzea</dc:creator>
    <dc:date>2021-02-22T08:05:04Z</dc:date>
    <item>
      <title>tDBInput_1 (JDBC) SQL Builder Where with Global Variable date  type</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tDBInput-1-JDBC-SQL-Builder-Where-with-Global-Variable-date-type/m-p/2325248#M94864</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is a simple SCD Dim Population, with last date modified from source &amp;gt; max&lt;/P&gt;&lt;P&gt;I've created GlobalVar to get max(last date updated) in dwh layer, so data type is Datetime2 19 positions "yyyy-MM-dd HH:mm:ss"&lt;/P&gt;&lt;P&gt;i am using this syntax in tMap with no problems :&lt;/P&gt;&lt;P&gt;((Date) globalMap.get("max_date"))&lt;/P&gt;&lt;P&gt;The value is 2021-02-10 05:49:57 same pattern as SQL Server : GETDATE()&lt;/P&gt;&lt;P&gt;2021-02-10 05:51:12&lt;/P&gt;&lt;P&gt;This Query Works Fine in SQL Builder :&amp;nbsp;&lt;/P&gt;&lt;P&gt;SELECT&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;"ACCOUNTS"."ACCOUNT_ID",&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;"ACCOUNTS"."DATE_LAST_MODIFIED",&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;"ACCOUNTS"."PARENT_ID",&amp;nbsp;&lt;/P&gt;&lt;P&gt;FROM "ACCOUNTS"&lt;/P&gt;&lt;P&gt;where "ACCOUNTS"."DATE_LAST_MODIFIED"&amp;gt;GETDATE()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried all sorts of quotes and double quotes plus sign etc... I saw on Web , I need please an answer from some one that achieved it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my problem is with this where&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;"ACCOUNTS"."ACCOUNT_ID",&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;"ACCOUNTS"."DATE_LAST_MODIFIED",&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;"ACCOUNTS"."PARENT_ID",&amp;nbsp;&lt;/P&gt;&lt;P&gt;FROM "ACCOUNTS"&lt;/P&gt;&lt;P&gt;where "ACCOUNTS"."DATE_LAST_MODIFIED"&amp;gt;((Date) globalMap.get("max_date"))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you Very Much&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:38:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tDBInput-1-JDBC-SQL-Builder-Where-with-Global-Variable-date-type/m-p/2325248#M94864</guid>
      <dc:creator>CostinMarzea</dc:creator>
      <dc:date>2024-11-16T00:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: tDBInput_1 (JDBC) SQL Builder Where with Global Variable date  type</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tDBInput-1-JDBC-SQL-Builder-Where-with-Global-Variable-date-type/m-p/2325249#M94865</link>
      <description>&lt;P&gt;Really?? no one knows? ... shocking !&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 08:05:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tDBInput-1-JDBC-SQL-Builder-Where-with-Global-Variable-date-type/m-p/2325249#M94865</guid>
      <dc:creator>CostinMarzea</dc:creator>
      <dc:date>2021-02-22T08:05:04Z</dc:date>
    </item>
  </channel>
</rss>

