<?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 ORA-00932: inconsistent datatypes: expected DATE got NUMBER in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/ORA-00932-inconsistent-datatypes-expected-DATE-got-NUMBER/m-p/1454511#M434945</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am loading data from Oracle db and getting the above message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the query looks like below:&lt;/P&gt;&lt;P&gt;$(_qvd_name):&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM $(_table_name)&lt;/P&gt;&lt;P&gt;where $(vUpdateField) &amp;gt; $(vMaxKey);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after evaluation it looks like below:&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM apps.xxegc_qv_sales_history_v&lt;/P&gt;&lt;P&gt;where INVOICEDATE &amp;gt; 26/12/2017&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My vMaxKey is the format 26/12/2017(DD/MM/YYYY) the default date format used in Qlikview. But when i try to load the data from oracle ( the invoicedate is stored in DD-MMM-YY format) and my script is failing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to use to_date function but still getting error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Viresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Dec 2017 14:35:12 GMT</pubDate>
    <dc:creator>vireshkolagimat</dc:creator>
    <dc:date>2017-12-26T14:35:12Z</dc:date>
    <item>
      <title>ORA-00932: inconsistent datatypes: expected DATE got NUMBER</title>
      <link>https://community.qlik.com/t5/QlikView/ORA-00932-inconsistent-datatypes-expected-DATE-got-NUMBER/m-p/1454511#M434945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am loading data from Oracle db and getting the above message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the query looks like below:&lt;/P&gt;&lt;P&gt;$(_qvd_name):&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM $(_table_name)&lt;/P&gt;&lt;P&gt;where $(vUpdateField) &amp;gt; $(vMaxKey);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after evaluation it looks like below:&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM apps.xxegc_qv_sales_history_v&lt;/P&gt;&lt;P&gt;where INVOICEDATE &amp;gt; 26/12/2017&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My vMaxKey is the format 26/12/2017(DD/MM/YYYY) the default date format used in Qlikview. But when i try to load the data from oracle ( the invoicedate is stored in DD-MMM-YY format) and my script is failing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to use to_date function but still getting error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Viresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2017 14:35:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ORA-00932-inconsistent-datatypes-expected-DATE-got-NUMBER/m-p/1454511#M434945</guid>
      <dc:creator>vireshkolagimat</dc:creator>
      <dc:date>2017-12-26T14:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: ORA-00932: inconsistent datatypes: expected DATE got NUMBER</title>
      <link>https://community.qlik.com/t5/QlikView/ORA-00932-inconsistent-datatypes-expected-DATE-got-NUMBER/m-p/1454512#M434946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with red part&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;STRONG&gt;$(_qvd_name):&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;SQL SELECT *&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;FROM $(_table_name)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;where $(vUpdateField) &amp;gt; &lt;SPAN style="color: #ff0000;"&gt;FORMAT(&lt;/SPAN&gt;$(vMaxKey)&lt;SPAN style="color: #ff0000;"&gt;,'DD/MM/YYYY')&lt;/SPAN&gt;;&lt;/STRONG&gt;&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2017 15:03:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ORA-00932-inconsistent-datatypes-expected-DATE-got-NUMBER/m-p/1454512#M434946</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-12-26T15:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: ORA-00932: inconsistent datatypes: expected DATE got NUMBER</title>
      <link>https://community.qlik.com/t5/QlikView/ORA-00932-inconsistent-datatypes-expected-DATE-got-NUMBER/m-p/1454513#M434947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Getting below error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ORA-00904: "FORMAT": invalid identifier&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Viresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 04:49:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ORA-00932-inconsistent-datatypes-expected-DATE-got-NUMBER/m-p/1454513#M434947</guid>
      <dc:creator>vireshkolagimat</dc:creator>
      <dc:date>2017-12-27T04:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: ORA-00932: inconsistent datatypes: expected DATE got NUMBER</title>
      <link>https://community.qlik.com/t5/QlikView/ORA-00932-inconsistent-datatypes-expected-DATE-got-NUMBER/m-p/1454514#M434948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you trace variables and share image of format?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 05:20:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ORA-00932-inconsistent-datatypes-expected-DATE-got-NUMBER/m-p/1454514#M434948</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-12-27T05:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: ORA-00932: inconsistent datatypes: expected DATE got NUMBER</title>
      <link>https://community.qlik.com/t5/QlikView/ORA-00932-inconsistent-datatypes-expected-DATE-got-NUMBER/m-p/1454515#M434949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, please find the below script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;SQL##f - SqlState: S0022, ErrorCode: 904, ErrorMsg: [Oracle][ODBC][Ora]ORA-00904: "FORMAT": invalid identifier&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;data:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;SQL SELECT *&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;FROM apps.xxegc_qv_sales_history_v&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;where INVOICEDATE &amp;gt; FORMAT('27/12/2017','DD/MM/YYYY')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;And also Maxkey is stored as number.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 08:34:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ORA-00932-inconsistent-datatypes-expected-DATE-got-NUMBER/m-p/1454515#M434949</guid>
      <dc:creator>vireshkolagimat</dc:creator>
      <dc:date>2017-12-27T08:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: ORA-00932: inconsistent datatypes: expected DATE got NUMBER</title>
      <link>https://community.qlik.com/t5/QlikView/ORA-00932-inconsistent-datatypes-expected-DATE-got-NUMBER/m-p/1454516#M434950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How you are defining your &lt;STRONG&gt;variables&lt;/STRONG&gt;? Please post all possible inputs instead asking one by one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 08:59:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ORA-00932-inconsistent-datatypes-expected-DATE-got-NUMBER/m-p/1454516#M434950</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-12-27T08:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: ORA-00932: inconsistent datatypes: expected DATE got NUMBER</title>
      <link>https://community.qlik.com/t5/QlikView/ORA-00932-inconsistent-datatypes-expected-DATE-got-NUMBER/m-p/1454517#M434951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Please find the attached QVW file and let me now if you need any further questions.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 09:57:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ORA-00932-inconsistent-datatypes-expected-DATE-got-NUMBER/m-p/1454517#M434951</guid>
      <dc:creator>vireshkolagimat</dc:creator>
      <dc:date>2017-12-27T09:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: ORA-00932: inconsistent datatypes: expected DATE got NUMBER</title>
      <link>https://community.qlik.com/t5/QlikView/ORA-00932-inconsistent-datatypes-expected-DATE-got-NUMBER/m-p/1454518#M434952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Oracle function to convert to date should be TO_DATE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 10:16:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ORA-00932-inconsistent-datatypes-expected-DATE-got-NUMBER/m-p/1454518#M434952</guid>
      <dc:creator>quwok</dc:creator>
      <dc:date>2017-12-27T10:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: ORA-00932: inconsistent datatypes: expected DATE got NUMBER</title>
      <link>https://community.qlik.com/t5/QlikView/ORA-00932-inconsistent-datatypes-expected-DATE-got-NUMBER/m-p/1454519#M434953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have seen this $(vUpdateField) as INVOICE DATE, But there In Data model there is no field such.. Not sure how you are restrict the data here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 12:24:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ORA-00932-inconsistent-datatypes-expected-DATE-got-NUMBER/m-p/1454519#M434953</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-12-27T12:24:15Z</dc:date>
    </item>
  </channel>
</rss>

