<?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 Reading from a view, get date format error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Reading-from-a-view-get-date-format-error/m-p/1108676#M366927</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to read from a view but get a error regarding the date format. It reads "&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;&lt;STRONG&gt;day of month must be between 1 and last day of month"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is within the sql query that creates the view, it complains on the date &lt;STRONG style="font-size: 13.3333px;"&gt;'9999-12-31 00:00:00'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;where&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; a.IP_HUB_SQN = b.IP_HUB_SQN&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; and a.IP_HUB_SQN = c.IP_HUB_SQN&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt; and a.ROW_END_DTTM = '9999-12-31 00:00:00'&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; and a.CRNT_F = 'Y';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;What seems to be the problem and how can I get pass it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Aug 2016 08:06:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-08-02T08:06:44Z</dc:date>
    <item>
      <title>Reading from a view, get date format error</title>
      <link>https://community.qlik.com/t5/QlikView/Reading-from-a-view-get-date-format-error/m-p/1108676#M366927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to read from a view but get a error regarding the date format. It reads "&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;&lt;STRONG&gt;day of month must be between 1 and last day of month"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is within the sql query that creates the view, it complains on the date &lt;STRONG style="font-size: 13.3333px;"&gt;'9999-12-31 00:00:00'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;where&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; a.IP_HUB_SQN = b.IP_HUB_SQN&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; and a.IP_HUB_SQN = c.IP_HUB_SQN&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt; and a.ROW_END_DTTM = '9999-12-31 00:00:00'&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; and a.CRNT_F = 'Y';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;What seems to be the problem and how can I get pass it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2016 08:06:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reading-from-a-view-get-date-format-error/m-p/1108676#M366927</guid>
      <dc:creator />
      <dc:date>2016-08-02T08:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: Reading from a view, get date format error</title>
      <link>https://community.qlik.com/t5/QlikView/Reading-from-a-view-get-date-format-error/m-p/1108677#M366928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this in a SQL SELECT? Then this is really a SQL question. You may also want to seek help on a suitable SQL forum. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What SQL DBMS is this for?&lt;/P&gt;&lt;P&gt;What is the default date format on the server?&lt;/P&gt;&lt;P&gt;Is the field a small datetime field? This format does not extend as far as the normal datetime&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2016 08:23:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reading-from-a-view-get-date-format-error/m-p/1108677#M366928</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-08-02T08:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: Reading from a view, get date format error</title>
      <link>https://community.qlik.com/t5/QlikView/Reading-from-a-view-get-date-format-error/m-p/1108678#M366929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://msdn.microsoft.com/en-GB/library/ms182418.aspx" title="https://msdn.microsoft.com/en-GB/library/ms182418.aspx"&gt;smalldatetime (Transact-SQL)&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2016 08:25:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reading-from-a-view-get-date-format-error/m-p/1108678#M366929</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-08-02T08:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Reading from a view, get date format error</title>
      <link>https://community.qlik.com/t5/QlikView/Reading-from-a-view-get-date-format-error/m-p/1108679#M366930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. You are right, it is a SQL question. It is a date field in Oracle but I solved it now by using &lt;/P&gt;&lt;P&gt;ROW_END_DTTM=TO_DATE('9999-12-31 00:00:00', 'yyyy/mm/dd hh24:mi:ss') in the query.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2016 09:25:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reading-from-a-view-get-date-format-error/m-p/1108679#M366930</guid>
      <dc:creator />
      <dc:date>2016-08-02T09:25:12Z</dc:date>
    </item>
  </channel>
</rss>

