<?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: OLEDB Not reading my dates correctly in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/OLEDB-Not-reading-my-dates-correctly/m-p/1153752#M902673</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using this query in the QV SQL command for a OLE DB connection. The above does not work &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jun 2016 21:41:12 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-06-30T21:41:12Z</dc:date>
    <item>
      <title>OLEDB Not reading my dates correctly</title>
      <link>https://community.qlik.com/t5/QlikView/OLEDB-Not-reading-my-dates-correctly/m-p/1153750#M902667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a oracle query, see below. When I load this in QV using the SQL comment it return no results. When I run on the client I get results. I want to be able to update this query where it works in QV SQL command and on the client. Thoughts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL&lt;/P&gt;&lt;P&gt;select *&lt;/P&gt;&lt;P&gt;from T&lt;/P&gt;&lt;P&gt;where enddate = '01-JAN-3000'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/OLEDB-Not-reading-my-dates-correctly/m-p/1153750#M902667</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: OLEDB Not reading my dates correctly</title>
      <link>https://community.qlik.com/t5/QlikView/OLEDB-Not-reading-my-dates-correctly/m-p/1153751#M902670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Select *&lt;/P&gt;&lt;P&gt;From T&lt;/P&gt;&lt;P&gt;WHERE Date(EndDate) = Date('01/01/3000')&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 21:28:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/OLEDB-Not-reading-my-dates-correctly/m-p/1153751#M902670</guid>
      <dc:creator>andydietler</dc:creator>
      <dc:date>2016-06-30T21:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: OLEDB Not reading my dates correctly</title>
      <link>https://community.qlik.com/t5/QlikView/OLEDB-Not-reading-my-dates-correctly/m-p/1153752#M902673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using this query in the QV SQL command for a OLE DB connection. The above does not work &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 21:41:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/OLEDB-Not-reading-my-dates-correctly/m-p/1153752#M902673</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-30T21:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: OLEDB Not reading my dates correctly</title>
      <link>https://community.qlik.com/t5/QlikView/OLEDB-Not-reading-my-dates-correctly/m-p/1153753#M902675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure the year is 3000 and not something else? Also can you try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;SQL&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;select *&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;from T&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;where enddate = '01-&lt;SPAN style="color: #ff0000;"&gt;Jan&lt;/SPAN&gt;-3000';&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 21:53:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/OLEDB-Not-reading-my-dates-correctly/m-p/1153753#M902675</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-30T21:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: OLEDB Not reading my dates correctly</title>
      <link>https://community.qlik.com/t5/QlikView/OLEDB-Not-reading-my-dates-correctly/m-p/1153754#M902678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see code below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;SELECT&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;CASE&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;WHEN&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; x.END_dt = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;'01-JAN-3000'&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; x.REASON &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;IS&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;NULL&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;THEN&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;'Open'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;WHEN&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; x.END_dt &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;IS&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;NOT&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;NULL&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;OR&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; x.REASON &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;IS&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;NOT&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;NULL&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;THEN&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;'Closed'&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;ELSE&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;'Unexpected x.END_dt value: '&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; || to_char(x.END_dt)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;END&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; Status&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; HIST x&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;WHERE&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;rownum&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;10&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;EM style=": ; color: #ff0000; font-size: 10pt;"&gt;--and to_char(x.end_dt,'MM/DD/YYYY') = '01/01/3000'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style=": ; color: #ff0000; font-size: 10pt;"&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; x.end_dt = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;'01-JAN-3000'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;order&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;by&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; x.end_dt &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;desc&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;When I change to&amp;nbsp; &lt;EM style="color: #ff0000;"&gt;to_char(x.end_dt,'MM/DD/YYYY') = '01/01/3000'&lt;/EM&gt; it return values but they are all status of closed. They are supposed to be status = Open&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 22:05:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/OLEDB-Not-reading-my-dates-correctly/m-p/1153754#M902678</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-30T22:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: OLEDB Not reading my dates correctly</title>
      <link>https://community.qlik.com/t5/QlikView/OLEDB-Not-reading-my-dates-correctly/m-p/1153755#M902680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Getting hung up here...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;CASE&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;WHEN&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; x.END_dt = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;'01-JAN-3000'&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; x.REASON &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;IS&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;NULL&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;THEN&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;'Open'&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 22:16:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/OLEDB-Not-reading-my-dates-correctly/m-p/1153755#M902680</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-30T22:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: OLEDB Not reading my dates correctly</title>
      <link>https://community.qlik.com/t5/QlikView/OLEDB-Not-reading-my-dates-correctly/m-p/1153756#M902682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why are you using different syntaxes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What about this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;CASE WHEN &lt;SPAN style="color: #ff0000;"&gt;to_char(x.end_dt,'MM/DD/YYYY') = '01/01/3000'&lt;/SPAN&gt; AND x.REASON IS NULL&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp; THEN 'Open'&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 22:19:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/OLEDB-Not-reading-my-dates-correctly/m-p/1153756#M902682</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-30T22:19:12Z</dc:date>
    </item>
  </channel>
</rss>

