<?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 Script not fetching the rows in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script-not-fetching-the-rows/m-p/205920#M62223</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think your initial issue is memory related, ideally you should have 1gb of RAM available (physical memory) for every 1-2 million rows you plan to load. This needs to be on the machine that is doing the loading.&lt;/P&gt;&lt;P&gt;If you are getting the error "start_time" not found that suggests there is no field called start_time or the format of the date you supplied in the where clause did not match the format of the date in the table.&lt;/P&gt;&lt;P&gt;if start_time is definately a valid field, it may be easier to rewrite it as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;select *&lt;BR /&gt;from dw_t_jobdata where start_time = max(start_time);&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;and if that works, you can expand the dataset by changing it to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;select *&lt;BR /&gt;from dw_t_jobdata where start_time = max(start_time)+30;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;which would give you the last month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Jun 2010 22:14:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-06-29T22:14:33Z</dc:date>
    <item>
      <title>Script not fetching the rows</title>
      <link>https://community.qlik.com/t5/QlikView/Script-not-fetching-the-rows/m-p/205915#M62218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I was trying to create a report from the table which has more than 3 million rows, after starting reloading the script the process stop in between saying the virtual memory is full , so i stopped the process and re-wriiten the script for limited time , just tried to run the data for couple of months instead of taking all the data from table, but i am not able to run the script, it just hangs...&lt;/P&gt;&lt;P&gt;it says executing scripts but no progress is seen, i deleted the application and created all over again , but still no progress...&lt;/P&gt;&lt;P&gt;could any one please explain what happened and what should i do now for running the script?&lt;/P&gt;&lt;P&gt;Please Help...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jun 2010 04:11:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-not-fetching-the-rows/m-p/205915#M62218</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-06-29T04:11:25Z</dc:date>
    </item>
    <item>
      <title>Script not fetching the rows</title>
      <link>https://community.qlik.com/t5/QlikView/Script-not-fetching-the-rows/m-p/205916#M62219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try to use statement FIRST n before LOAD statement.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;First 1000&lt;/P&gt;&lt;P&gt;LOAD * FROM...&lt;/P&gt;&lt;P&gt;If your script will not reload successfully, so you have very bad data model (may be you have synthetic keys, cyclic references or something else)&lt;/P&gt;&lt;P&gt;Can you post your example QVW ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jun 2010 06:28:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-not-fetching-the-rows/m-p/205916#M62219</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2010-06-29T06:28:28Z</dc:date>
    </item>
    <item>
      <title>Script not fetching the rows</title>
      <link>https://community.qlik.com/t5/QlikView/Script-not-fetching-the-rows/m-p/205917#M62220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here is the script i am having..&lt;/P&gt;&lt;P&gt;set&lt;/P&gt;&lt;P&gt;&lt;B&gt;ThousandSep&lt;/B&gt;=','&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;SET&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;DecimalSep='.' &lt;P&gt;;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;SET&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;MoneyThousandSep=',' &lt;P&gt;;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;SET&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;MoneyDecimalSep='.' &lt;P&gt;;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;SET&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;MoneyFormat='$#,##0.00;($#,##0.00)' &lt;P&gt;;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;SET&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;TimeFormat='h:mm:ss TT' &lt;P&gt;;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;SET&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;DateFormat='M/D/YYYY' &lt;P&gt;;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;SET&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;TimestampFormat='M/D/YYYY h:mm:ss[.fff] TT' &lt;P&gt;;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;SET&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;MonthNames='Jan;Feb;Mar;Apr;May;Jun;Jul;Aug;Sep;Oct;Nov;Dec' &lt;P&gt;;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;SET&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;DayNames='Mon;Tue;Wed;Thu;Fri;Sat;Sun' &lt;P&gt;;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;CONNECT&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;B&gt;TO&lt;/B&gt; [Provider=MSDAORA.1;User ID=piowner;Data Source=pidwprd] (XPassword is &lt;P&gt;BLRcASVOFbNIWaVNQbXB);&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;SQL&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;B&gt;SELECT&lt;/B&gt; &lt;P&gt;* &lt;B&gt;FROM&lt;/B&gt;&lt;/P&gt;PIOWNER."DW_T_JOBDATA" where start_time &amp;gt; = &lt;P&gt;'15-jun-2010';&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jun 2010 18:01:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-not-fetching-the-rows/m-p/205917#M62220</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-06-29T18:01:58Z</dc:date>
    </item>
    <item>
      <title>Script not fetching the rows</title>
      <link>https://community.qlik.com/t5/QlikView/Script-not-fetching-the-rows/m-p/205918#M62221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My guess is that your SQL Server is having difficulties performing a SELECT on a large table with no index on a date. Try creating an index and running the same query. Also, check that your syntax with regards to the date representation is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV id="refHTML"&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jun 2010 18:20:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-not-fetching-the-rows/m-p/205918#M62221</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2010-06-29T18:20:25Z</dc:date>
    </item>
    <item>
      <title>Script not fetching the rows</title>
      <link>https://community.qlik.com/t5/QlikView/Script-not-fetching-the-rows/m-p/205919#M62222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the table has indexes,&lt;/P&gt;&lt;P&gt;how do i select last 1000 rows instead of first 1000 rows?&lt;/P&gt;&lt;P&gt;when i right select statement something like&lt;/P&gt;&lt;P&gt;select * from dw_t_jobdata where start_time &amp;gt; '01-jun-2010' , i get an error saying start_time not found, if i just write a select statement without where condition it works..i basically want recent data ...how do i get that...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jun 2010 18:36:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-not-fetching-the-rows/m-p/205919#M62222</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-06-29T18:36:09Z</dc:date>
    </item>
    <item>
      <title>Script not fetching the rows</title>
      <link>https://community.qlik.com/t5/QlikView/Script-not-fetching-the-rows/m-p/205920#M62223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think your initial issue is memory related, ideally you should have 1gb of RAM available (physical memory) for every 1-2 million rows you plan to load. This needs to be on the machine that is doing the loading.&lt;/P&gt;&lt;P&gt;If you are getting the error "start_time" not found that suggests there is no field called start_time or the format of the date you supplied in the where clause did not match the format of the date in the table.&lt;/P&gt;&lt;P&gt;if start_time is definately a valid field, it may be easier to rewrite it as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;select *&lt;BR /&gt;from dw_t_jobdata where start_time = max(start_time);&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;and if that works, you can expand the dataset by changing it to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;select *&lt;BR /&gt;from dw_t_jobdata where start_time = max(start_time)+30;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;which would give you the last month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jun 2010 22:14:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-not-fetching-the-rows/m-p/205920#M62223</guid>
      <dc:creator />
      <dc:date>2010-06-29T22:14:33Z</dc:date>
    </item>
    <item>
      <title>Script not fetching the rows</title>
      <link>https://community.qlik.com/t5/QlikView/Script-not-fetching-the-rows/m-p/205921#M62224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;start_time field is certainly there in the table&lt;/P&gt;&lt;P&gt;Here is my current query which works fine but when i give any where condition it throws error, mine is oracle db. &lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;FIRST&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;50000&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;SQL&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;B&gt;SELECT&lt;/B&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;TO_CHAR(START_TIME,'MM/DD/YYYY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;AS &lt;P&gt;START_DAY,&lt;/P&gt;&lt;P&gt;TO_CHAR(FINISH_TIME,'MM/DD/YYYY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;AS &lt;P&gt;FINISH_DAY,&lt;/P&gt;&lt;P&gt;"JOB_ID",&lt;/P&gt;&lt;P&gt;"USER_NAME",&lt;/P&gt;&lt;P&gt;"QUEUE_TIME",&lt;/P&gt;&lt;P&gt;"START_TIME",&lt;/P&gt;&lt;P&gt;"FINISH_TIME",&lt;/P&gt;&lt;P&gt;"PROJECT_NAME",&lt;/P&gt;&lt;P&gt;"QUEUE_NAME",&lt;/P&gt;&lt;P&gt;"CLUSTER_NAME",&lt;/P&gt;&lt;P&gt;"LSFHOST_MODEL",&lt;/P&gt;&lt;P&gt;"HOST_NAME",&lt;/P&gt;&lt;P&gt;"LSFHOST_TYPE",&lt;/P&gt;&lt;P&gt;"MEM_REQUEST",&lt;/P&gt;&lt;P&gt;"MEM_USAGE",&lt;/P&gt;&lt;P&gt;"SWAP_USAGE",&lt;/P&gt;&lt;P&gt;"RUN_TIME",&lt;/P&gt;&lt;P&gt;"CPU_MINUTES",&lt;/P&gt;&lt;P&gt;"PENDING_TIME",&lt;/P&gt;&lt;P&gt;"JOB_EXIT_STATUS",&lt;/P&gt;&lt;P&gt;"JOB_EXIT_CODE",&lt;/P&gt;&lt;P&gt;"JOB_NAME",&lt;/P&gt;&lt;P&gt;"JOB_ARRAY_INDEX",&lt;/P&gt;&lt;P&gt;"JOBRES_RAW",&lt;/P&gt;&lt;P&gt;"JOB_CMD"&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;FROM&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;PIOWNER."DW_T_JOBDATA" &lt;P&gt;;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jun 2010 22:30:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-not-fetching-the-rows/m-p/205921#M62224</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-06-29T22:30:08Z</dc:date>
    </item>
    <item>
      <title>Script not fetching the rows</title>
      <link>https://community.qlik.com/t5/QlikView/Script-not-fetching-the-rows/m-p/205922#M62225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know QV is case sensitive in the the majority of the load script but can't rememebr off hand if that includes the SQL select statment. I say this as field name is being designated in the select as "START_TIME" (all uppercase), therefore stands to reason it should be uppercase in the where clause.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jun 2010 22:38:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-not-fetching-the-rows/m-p/205922#M62225</guid>
      <dc:creator />
      <dc:date>2010-06-29T22:38:28Z</dc:date>
    </item>
    <item>
      <title>Script not fetching the rows</title>
      <link>https://community.qlik.com/t5/QlikView/Script-not-fetching-the-rows/m-p/205923#M62226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried below query , but i get an error saying invalid number , if i use max i get an error saying cannot use group funtion , if i use the date in single quotes like '06/01/2010' the scripts gets hanged ....Please Help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;SQL&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;B&gt;SELECT&lt;/B&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;TO_CHAR(START_TIME,'MM/DD/YYYY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;AS &lt;P&gt;START_DAY,&lt;/P&gt;&lt;P&gt;TO_CHAR(FINISH_TIME,'MM/DD/YYYY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;AS &lt;P&gt;FINISH_DAY,&lt;/P&gt;&lt;P&gt;"JOB_ID",&lt;/P&gt;&lt;P&gt;"USER_NAME",&lt;/P&gt;&lt;P&gt;"QUEUE_TIME",&lt;/P&gt;&lt;P&gt;"START_TIME",&lt;/P&gt;&lt;P&gt;"FINISH_TIME",&lt;/P&gt;&lt;P&gt;"PROJECT_NAME",&lt;/P&gt;&lt;P&gt;"QUEUE_NAME",&lt;/P&gt;&lt;P&gt;"CLUSTER_NAME",&lt;/P&gt;&lt;P&gt;"LSFHOST_MODEL",&lt;/P&gt;&lt;P&gt;"HOST_NAME",&lt;/P&gt;&lt;P&gt;"LSFHOST_TYPE",&lt;/P&gt;&lt;P&gt;"MEM_REQUEST",&lt;/P&gt;&lt;P&gt;"MEM_USAGE",&lt;/P&gt;&lt;P&gt;"SWAP_USAGE",&lt;/P&gt;&lt;P&gt;"RUN_TIME",&lt;/P&gt;&lt;P&gt;"CPU_MINUTES",&lt;/P&gt;&lt;P&gt;"PENDING_TIME",&lt;/P&gt;&lt;P&gt;"JOB_EXIT_STATUS",&lt;/P&gt;&lt;P&gt;"JOB_EXIT_CODE",&lt;/P&gt;&lt;P&gt;"JOB_NAME",&lt;/P&gt;&lt;P&gt;"JOB_ARRAY_INDEX",&lt;/P&gt;&lt;P&gt;"JOBRES_RAW",&lt;/P&gt;&lt;P&gt;"JOB_CMD"&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;FROM&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;PIOWNER."DW_T_JOBDATA" WHERE TO_CHAR(START_TIME,'MM/DD/YYYY') &amp;gt; 06/01/2010 &lt;P&gt;;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jun 2010 22:50:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-not-fetching-the-rows/m-p/205923#M62226</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-06-29T22:50:15Z</dc:date>
    </item>
    <item>
      <title>Script not fetching the rows</title>
      <link>https://community.qlik.com/t5/QlikView/Script-not-fetching-the-rows/m-p/205924#M62227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The function "to_char" is converting the date to a string, i am not sure you want to be loading it in already pre-converted as QV should be handling as much of the data manipulation as possible outwith the select statment. String functions also tend to be more of a strain on SQL servers than straight numerical functions.&lt;/P&gt;&lt;P&gt;however, if you keep the to_char, you should be able to enter a wildcard match such as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;STRONG&gt;PIOWNER."DW_T_JOBDATA"&lt;/STRONG&gt; WHERE TO_CHAR(START_TIME,'MM/DD/YYYY') like '06/%'&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;to return everything for the 6th month although doesn't give you any control over the year.&lt;/P&gt;&lt;P&gt;i forgot to say you need to use a subquery for the where clause if you are usuing max, try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;SQL SELECT START_TIME, USER_NAME from &lt;STRONG&gt;PIOWNER."DW_T_JOBDATA"&lt;/STRONG&gt; where START_TIME = (select max(START_TIME) from &lt;STRONG&gt;PIOWNER."DW_T_JOBDATA")&lt;/STRONG&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;and if that works, add fields one by one to the main query&lt;/P&gt;&lt;P&gt;If you have a PL/SQL editor such as TOAD it would be worth fine tuning the select statement with that first, then you can rule any syntax issues out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jun 2010 00:14:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-not-fetching-the-rows/m-p/205924#M62227</guid>
      <dc:creator />
      <dc:date>2010-06-30T00:14:25Z</dc:date>
    </item>
  </channel>
</rss>

