<?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: SQL timestamp conversion issue in a where clause statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SQL-timestamp-conversion-issue-in-a-where-clause-statement/m-p/1784443#M1227943</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/16737"&gt;@BrunPierre&lt;/a&gt;, I meant that if the data in sql is a number, not a date, you need to use a number to filter.&lt;/P&gt;&lt;P&gt;What filter are you using in SQL?&lt;/P&gt;</description>
    <pubDate>Sun, 21 Feb 2021 08:05:04 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2021-02-21T08:05:04Z</dc:date>
    <item>
      <title>SQL timestamp conversion issue in a where clause statement</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-timestamp-conversion-issue-in-a-where-clause-statement/m-p/1784376#M1227931</link>
      <description>&lt;P&gt;Hello Everyone!&lt;/P&gt;&lt;P&gt;Trying to convert this "1605291725" which I believe to be in this format 'YYMMDDHHMM'&amp;nbsp; to 'DD/MM/YYYY'.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is works fine&amp;nbsp;DATE(DATE#(LEFT(DATE_TIME,6),'YYMMDD'),'DD/MM/YYYY')&amp;nbsp; when filtering through QVDs, however,&lt;/P&gt;&lt;P&gt;I can't seem to translate it into SQL when I try to spool new data from the source database i.e. with a where clause&lt;/P&gt;&lt;P&gt;while refreshing data.&lt;/P&gt;&lt;P&gt;Please help!&lt;/P&gt;&lt;P&gt;Kind regards.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 21:26:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-timestamp-conversion-issue-in-a-where-clause-statement/m-p/1784376#M1227931</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2026-01-26T21:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: SQL timestamp conversion issue in a where clause statement</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-timestamp-conversion-issue-in-a-where-clause-statement/m-p/1784379#M1227934</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/16737"&gt;@BrunPierre&lt;/a&gt;, maybe it's stored as number in database, have you tried to filter it as "&amp;gt;=2100000000" to retrieve 2021 data?.&lt;/P&gt;&lt;P&gt;Once you make it work with a fixed value it will be easier to make it dynamic.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Feb 2021 08:58:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-timestamp-conversion-issue-in-a-where-clause-statement/m-p/1784379#M1227934</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2021-02-20T08:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: SQL timestamp conversion issue in a where clause statement</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-timestamp-conversion-issue-in-a-where-clause-statement/m-p/1784413#M1227939</link>
      <description>&lt;P&gt;Thanks for response, but your suggestion wasn't too clear. Please elaborate and secondly, the date field is indeed numeric with a&amp;nbsp;&lt;SPAN&gt;YYMMDDHHmm format.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 20 Feb 2021 16:16:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-timestamp-conversion-issue-in-a-where-clause-statement/m-p/1784413#M1227939</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2021-02-20T16:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: SQL timestamp conversion issue in a where clause statement</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-timestamp-conversion-issue-in-a-where-clause-statement/m-p/1784443#M1227943</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/16737"&gt;@BrunPierre&lt;/a&gt;, I meant that if the data in sql is a number, not a date, you need to use a number to filter.&lt;/P&gt;&lt;P&gt;What filter are you using in SQL?&lt;/P&gt;</description>
      <pubDate>Sun, 21 Feb 2021 08:05:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-timestamp-conversion-issue-in-a-where-clause-statement/m-p/1784443#M1227943</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2021-02-21T08:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: SQL timestamp conversion issue in a where clause statement</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-timestamp-conversion-issue-in-a-where-clause-statement/m-p/1784447#M1227946</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22593"&gt;@rubenmarin&lt;/a&gt;&amp;nbsp;convert(datetime, (convert (int, DATE_TIME)), 6), but it throws an error converting.&lt;/P&gt;&lt;P&gt;Perhaps you could suggest a syntax to use number to filter?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 21 Feb 2021 08:52:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-timestamp-conversion-issue-in-a-where-clause-statement/m-p/1784447#M1227946</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2021-02-21T08:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: SQL timestamp conversion issue in a where clause statement</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-timestamp-conversion-issue-in-a-where-clause-statement/m-p/1784450#M1227948</link>
      <description>&lt;P&gt;What I'm saying is that instead of trying to convert that value to a date, use the integer as filter, if you have a date or timestamp you can convert as&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;LET vFilter = timestamp(DateToFilter,'YYMMDDhhmm')&lt;/LI-CODE&gt;&lt;P&gt;And use hat value in where clause&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Where field&amp;gt;=$(vFilter)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Feb 2021 12:15:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-timestamp-conversion-issue-in-a-where-clause-statement/m-p/1784450#M1227948</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2021-02-21T12:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: SQL timestamp conversion issue in a where clause statement</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-timestamp-conversion-issue-in-a-where-clause-statement/m-p/1784491#M1227951</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22593"&gt;@rubenmarin&lt;/a&gt;&amp;nbsp;&amp;nbsp;Fantastic! I now understand your concept, and it's very helpful.&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;</description>
      <pubDate>Sun, 21 Feb 2021 18:15:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-timestamp-conversion-issue-in-a-where-clause-statement/m-p/1784491#M1227951</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2021-02-21T18:15:02Z</dc:date>
    </item>
  </channel>
</rss>

