<?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 Oracle Count(*) query yielding different results in client vs. QV script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Oracle-Count-query-yielding-different-results-in-client-vs-QV/m-p/582114#M216213</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'inherit','serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US;"&gt;Greetings All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'inherit','serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'inherit','serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US;"&gt;I am working on a dynamically assembled query in an Oracle environment.&amp;nbsp; The following is an example of one of the iteration passes through the script as generated when running the .QVW.&amp;nbsp; This is cut and paste from the debugger window, the output window, traced..&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'inherit','serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'inherit','serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US;"&gt;This exact query verbatim will generate a row count when I test it in an Oracle client, however within the QlikView script the same exact syntax returns a rowcount of zero even though I can read data from the table into QlikView. &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'inherit','serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'inherit','serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US;"&gt;Any ideas on why I could have the differential with identical syntax?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'inherit','serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'inherit','serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'inherit','serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US;"&gt;SELECT&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Courier; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; border: none windowtext 1.0pt; mso-border-alt: none windowtext 0in; padding: 0in; mso-ansi-language: EN-US;"&gt; &lt;SPAN style="color: blue;"&gt;Count(&lt;/SPAN&gt;*&lt;SPAN style="color: blue;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: blue;"&gt;AS&lt;/SPAN&gt;&amp;nbsp; &lt;SPAN style="color: blue;"&gt;COUNT&lt;BR style="mso-special-character: line-break;" /&gt; &lt;BR style="mso-special-character: line-break;" /&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Courier; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; color: blue; border: none windowtext 1.0pt; mso-border-alt: none windowtext 0in; padding: 0in; mso-ansi-language: EN-US;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Courier; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; border: none windowtext 1.0pt; mso-border-alt: none windowtext 0in; padding: 0in; mso-ansi-language: EN-US;"&gt; INV&lt;SPAN style="color: blue;"&gt;.&lt;/SPAN&gt;MTL_ITEM_SUB_INVENTORIES&lt;BR style="mso-special-character: line-break;" /&gt; &lt;BR style="mso-special-character: line-break;" /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Courier; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; color: blue; border: none windowtext 1.0pt; mso-border-alt: none windowtext 0in; padding: 0in; mso-ansi-language: EN-US;"&gt;WHERE&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Courier; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; border: none windowtext 1.0pt; mso-border-alt: none windowtext 0in; padding: 0in; mso-ansi-language: EN-US;"&gt; &lt;SPAN style="color: blue;"&gt;ROWNUM&lt;/SPAN&gt; &lt;SPAN style="color: blue;"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN style="color: maroon;"&gt;0&lt;BR style="mso-special-character: line-break;" /&gt; &lt;BR style="mso-special-character: line-break;" /&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Courier; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; color: blue; border: none windowtext 1.0pt; mso-border-alt: none windowtext 0in; padding: 0in; mso-ansi-language: EN-US;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Courier; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; border: none windowtext 1.0pt; mso-border-alt: none windowtext 0in; padding: 0in; mso-ansi-language: EN-US;"&gt; INV&lt;SPAN style="color: blue;"&gt;.&lt;/SPAN&gt;MTL_ITEM_SUB_INVENTORIES&lt;SPAN style="color: blue;"&gt;.&lt;/SPAN&gt;LAST_UPDATE_DATE&amp;nbsp; &lt;SPAN style="color: blue;"&gt;BETWEEN&lt;/SPAN&gt; &lt;SPAN style="color: blue;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: red;"&gt;'01-JUN-2011'&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: blue;"&gt;AND(&lt;/SPAN&gt;&lt;SPAN style="color: red;"&gt;'01-SEP-2012'&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Apr 2014 20:00:00 GMT</pubDate>
    <dc:creator>evan_kurowski</dc:creator>
    <dc:date>2014-04-15T20:00:00Z</dc:date>
    <item>
      <title>Oracle Count(*) query yielding different results in client vs. QV script</title>
      <link>https://community.qlik.com/t5/QlikView/Oracle-Count-query-yielding-different-results-in-client-vs-QV/m-p/582114#M216213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'inherit','serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US;"&gt;Greetings All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'inherit','serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'inherit','serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US;"&gt;I am working on a dynamically assembled query in an Oracle environment.&amp;nbsp; The following is an example of one of the iteration passes through the script as generated when running the .QVW.&amp;nbsp; This is cut and paste from the debugger window, the output window, traced..&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'inherit','serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'inherit','serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US;"&gt;This exact query verbatim will generate a row count when I test it in an Oracle client, however within the QlikView script the same exact syntax returns a rowcount of zero even though I can read data from the table into QlikView. &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'inherit','serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'inherit','serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US;"&gt;Any ideas on why I could have the differential with identical syntax?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'inherit','serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'inherit','serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'inherit','serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US;"&gt;SELECT&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Courier; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; border: none windowtext 1.0pt; mso-border-alt: none windowtext 0in; padding: 0in; mso-ansi-language: EN-US;"&gt; &lt;SPAN style="color: blue;"&gt;Count(&lt;/SPAN&gt;*&lt;SPAN style="color: blue;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: blue;"&gt;AS&lt;/SPAN&gt;&amp;nbsp; &lt;SPAN style="color: blue;"&gt;COUNT&lt;BR style="mso-special-character: line-break;" /&gt; &lt;BR style="mso-special-character: line-break;" /&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Courier; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; color: blue; border: none windowtext 1.0pt; mso-border-alt: none windowtext 0in; padding: 0in; mso-ansi-language: EN-US;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Courier; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; border: none windowtext 1.0pt; mso-border-alt: none windowtext 0in; padding: 0in; mso-ansi-language: EN-US;"&gt; INV&lt;SPAN style="color: blue;"&gt;.&lt;/SPAN&gt;MTL_ITEM_SUB_INVENTORIES&lt;BR style="mso-special-character: line-break;" /&gt; &lt;BR style="mso-special-character: line-break;" /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Courier; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; color: blue; border: none windowtext 1.0pt; mso-border-alt: none windowtext 0in; padding: 0in; mso-ansi-language: EN-US;"&gt;WHERE&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Courier; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; border: none windowtext 1.0pt; mso-border-alt: none windowtext 0in; padding: 0in; mso-ansi-language: EN-US;"&gt; &lt;SPAN style="color: blue;"&gt;ROWNUM&lt;/SPAN&gt; &lt;SPAN style="color: blue;"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN style="color: maroon;"&gt;0&lt;BR style="mso-special-character: line-break;" /&gt; &lt;BR style="mso-special-character: line-break;" /&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Courier; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; color: blue; border: none windowtext 1.0pt; mso-border-alt: none windowtext 0in; padding: 0in; mso-ansi-language: EN-US;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Courier; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; border: none windowtext 1.0pt; mso-border-alt: none windowtext 0in; padding: 0in; mso-ansi-language: EN-US;"&gt; INV&lt;SPAN style="color: blue;"&gt;.&lt;/SPAN&gt;MTL_ITEM_SUB_INVENTORIES&lt;SPAN style="color: blue;"&gt;.&lt;/SPAN&gt;LAST_UPDATE_DATE&amp;nbsp; &lt;SPAN style="color: blue;"&gt;BETWEEN&lt;/SPAN&gt; &lt;SPAN style="color: blue;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: red;"&gt;'01-JUN-2011'&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: blue;"&gt;AND(&lt;/SPAN&gt;&lt;SPAN style="color: red;"&gt;'01-SEP-2012'&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2014 20:00:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Oracle-Count-query-yielding-different-results-in-client-vs-QV/m-p/582114#M216213</guid>
      <dc:creator>evan_kurowski</dc:creator>
      <dc:date>2014-04-15T20:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Count(*) query yielding different results in client vs. QV script</title>
      <link>https://community.qlik.com/t5/QlikView/Oracle-Count-query-yielding-different-results-in-client-vs-QV/m-p/582115#M216214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 11px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hello Qlik Community Members- this discussion has was posted previously but accidentally deleted we are recreating the thread. If you have any helpful answers please feel free to respond.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;A href="http://qliktech-public.uat5.hosted.jivesoftware.com/people/msolomov"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'inherit','serif'; color: #3778c7;"&gt;Michael Solomovich&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/A&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif';"&gt;Sep 17, 2012 4:39 PM &lt;SPAN style="color: darkgray;"&gt;(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="http://qliktech-public.uat5.hosted.jivesoftware.com/thread/61856#259969" title="Go to message"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'inherit','serif'; color: darkgray;"&gt;in response to EvanKurowski&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: darkgray;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'inherit','serif';"&gt;Maybe different Oracle users with the different data access (?)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;---------------------------------------------&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;A href="http://qliktech-public.uat5.hosted.jivesoftware.com/people/kpap1234"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'inherit','serif'; color: #3778c7;"&gt;Krunoslav Pap&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/A&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif';"&gt;Sep 18, 2012 2:16 AM &lt;SPAN style="color: darkgray;"&gt;(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="http://qliktech-public.uat5.hosted.jivesoftware.com/thread/61856#259969" title="Go to message"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'inherit','serif'; color: darkgray;"&gt;in response to EvanKurowski&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: darkgray;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'inherit','serif';"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'inherit','serif';"&gt;in addition to previous suggestion, date format could be possible cause of issue; try to execute select on Oracle and QV without dates condition and compare results.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'inherit','serif';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'inherit','serif';"&gt;regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Courier; color: maroon;"&gt;&lt;BR /&gt;------------------------&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;A href="http://qliktech-public.uat5.hosted.jivesoftware.com/people/evankurowski"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'inherit','serif'; color: #3778c7;"&gt;EvanKurowski&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/A&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif';"&gt;Sep 18, 2012 9:56 AM &lt;SPAN style="color: darkgray;"&gt;(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="http://qliktech-public.uat5.hosted.jivesoftware.com/thread/61856#259969" title="Go to message"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'inherit','serif'; color: darkgray;"&gt;in response to EvanKurowski&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'inherit','serif'; color: darkgray;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;Michael, to answer your question, this is producing the same row counts when run on the same machine.&amp;nbsp; So the user credentials executing the query in an Oracle client are the same to those executing the query in QlikView.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;Krunoslav, the default date format variable at the beginning of the script remains unchanged&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;SET &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 8.5pt; font-family: 'inherit','serif';"&gt;DateFormat&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;='M/D/YYYY';&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;The proper row counts are returned when the date range filtration is applied on the QlikView side&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;Table:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;STRONG style="color: blue; font-size: 8.5pt; font-family: 'inherit','serif';"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: blue;"&gt;WHERE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt; &lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: maroon;"&gt;LAST_UPDATE_DATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt; &amp;gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: blue;"&gt;Num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: blue;"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;('01-JUN-2011','DD-MMM-YYYY'))&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: blue;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt; &lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: maroon;"&gt;LAST_UPDATE_DATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt; &amp;lt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: blue;"&gt;Num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: blue;"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;('01-SEP-2012','DD-MMM-YYYY')) ;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 8.5pt; font-family: 'inherit','serif';"&gt;SQL SELECT&lt;/STRONG&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt; *&lt;BR /&gt; &lt;BR /&gt; FROM INV.MTL_ITEM_SUB_INVENTORIES&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: green;"&gt;//WHERE ROWNUM &amp;gt; 0 AND INV.MTL_ITEM_SUB_INVENTORIES.LAST_UPDATE_DATE &lt;BR /&gt; &lt;BR /&gt; //BETWEEN ('01-//JUN-2011') AND ('01-SEP-2012')&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: green;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;However if the date filtration is engaged on the Oracle side, the query returns the correct amount of rows in an Oracle client, but either the full table when pulling the data, or a zero row count when counting the rows.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;Table:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;STRONG style="color: blue; font-size: 8.5pt; font-family: 'inherit','serif';"&gt;SQL SELECT&lt;/STRONG&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt; *&lt;BR /&gt; FROM INV.MTL_ITEM_SUB_INVENTORIES&lt;BR /&gt; WHERE ROWNUM &amp;gt; 0 AND INV.MTL_ITEM_SUB_INVENTORIES.LAST_UPDATE_DATE &lt;BR /&gt; BETWEEN ('01-JUN-2011') AND ('01-SEP-2012')&lt;BR /&gt; (the above returns the full table in QV, but properly filtered date range in the client)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2014 20:02:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Oracle-Count-query-yielding-different-results-in-client-vs-QV/m-p/582115#M216214</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-15T20:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Count(*) query yielding different results in client vs. QV script</title>
      <link>https://community.qlik.com/t5/QlikView/Oracle-Count-query-yielding-different-results-in-client-vs-QV/m-p/582116#M216215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think is always better to specify a format for oracle date,&lt;/P&gt;&lt;P&gt;example in your sql &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.......&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; between to_date('01-06-2011', 'DD-MM-YYYY') and ..............&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2014 21:32:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Oracle-Count-query-yielding-different-results-in-client-vs-QV/m-p/582116#M216215</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-04-15T21:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Count(*) query yielding different results in client vs. QV script</title>
      <link>https://community.qlik.com/t5/QlikView/Oracle-Count-query-yielding-different-results-in-client-vs-QV/m-p/582117#M216216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in addition to your question (I was trying to simulate it) I found another strange thing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// first query, result 0 in qlikview, 1 with oracle tool (sqlplus, toad)&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;SQL &lt;/P&gt;&lt;P&gt;SELECT * FROM TEST.EMP&lt;/P&gt;&lt;P&gt;WHERE ROWNUM &amp;gt; 0 AND HIREDATE BETWEEN '01-GIU-2011' AND '01-FEB-2014'&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;// second query, result 1 in qlikview, 1 with oracle tool&lt;/P&gt;&lt;P&gt;SQL &lt;/P&gt;&lt;P&gt;SELECT * FROM TEST.EMP&lt;/P&gt;&lt;P&gt;WHERE ROWNUM &amp;gt; 0 AND HIREDATE BETWEEN to_date('01-06-2011', 'DD-MM-YYYY') AND to_date('01-02-2014', 'DD-MM-YYYY')&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first and second in qlik&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/57372_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;first in sql plus&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/57373_2.png" style="width: 620px; height: 133px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2014 21:52:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Oracle-Count-query-yielding-different-results-in-client-vs-QV/m-p/582117#M216216</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-04-15T21:52:44Z</dc:date>
    </item>
  </channel>
</rss>

