<?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: WHERE in a replace load Statement - Help Needed in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/WHERE-in-a-replace-load-Statement-Help-Needed/m-p/342286#M126439</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;2) not isnull(&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;ERG-DatumZeit&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) not sure, need to have a sample data to check&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Aug 2012 13:27:08 GMT</pubDate>
    <dc:creator>giakoum</dc:creator>
    <dc:date>2012-08-07T13:27:08Z</dc:date>
    <item>
      <title>WHERE in a replace load Statement - Help Needed</title>
      <link>https://community.qlik.com/t5/QlikView/WHERE-in-a-replace-load-Statement-Help-Needed/m-p/342281#M126434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you can help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to load date from an already existing qlikview table using load... resident... where&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The load resident clause is working without the "where" thus I figure my error has to be in the where part:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The resident Table has the field [ERG-Datum-Zeit] which is a timestamp. In the new table I only want to load the rows which are within an intervall specified by two variable (schmat_datum_von, schmat_datum_bis) those are timestamps as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the where clauses I tried without success:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE "ERG-DatumZeit"&amp;gt;=$(schmat_datum_von) and "ERG-DatumZeit"&amp;lt;=$(schmat_datum_bis);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where timestamp#([ERG-DatumZeit],'DD.MM.YYYY hh:mm')&amp;gt;=timestamp#($(schmat_datum_von),'DD.MM.YYYY hh:mm') and timestamp#([ERG-DatumZeitBis],'DD.MM.YYYY hh:mm')&amp;lt;=timestamp#($(schmat_datum_bis),'DD.MM.YYYY hh:mm');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Errormessage it complains about an Syntax Error (Fehlerhafte Syntax).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Ideas what might be wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matthias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 12:40:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/WHERE-in-a-replace-load-Statement-Help-Needed/m-p/342281#M126434</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-07T12:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: WHERE in a replace load Statement - Help Needed</title>
      <link>https://community.qlik.com/t5/QlikView/WHERE-in-a-replace-load-Statement-Help-Needed/m-p/342282#M126435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are the variables there before the where statement? And what if you replace " with [ for the field names?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 12:45:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/WHERE-in-a-replace-load-Statement-Help-Needed/m-p/342282#M126435</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2012-08-07T12:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: WHERE in a replace load Statement - Help Needed</title>
      <link>https://community.qlik.com/t5/QlikView/WHERE-in-a-replace-load-Statement-Help-Needed/m-p/342283#M126436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The variable are currently coming from an input box. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error message gives the values of the variables thus I think that the variable values are all right. I guess the problem is related to the field. (This time I included the fieldnames in brackets)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="19499" class="jive-image-thumbnail jive-image" onclick="" alt="test.JPG" src="https://community.qlik.com/legacyfs/online/19499_test.JPG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matthias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 12:54:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/WHERE-in-a-replace-load-Statement-Help-Needed/m-p/342283#M126436</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-07T12:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: WHERE in a replace load Statement - Help Needed</title>
      <link>https://community.qlik.com/t5/QlikView/WHERE-in-a-replace-load-Statement-Help-Needed/m-p/342284#M126437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;WHERE [ERG-DatumZeit]&amp;gt;='$(schmat_datum_von)' and [ERG-DatumZeit]&amp;lt;='$(schmat_datum_bis)'&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 12:59:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/WHERE-in-a-replace-load-Statement-Help-Needed/m-p/342284#M126437</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2012-08-07T12:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: WHERE in a replace load Statement - Help Needed</title>
      <link>https://community.qlik.com/t5/QlikView/WHERE-in-a-replace-load-Statement-Help-Needed/m-p/342285#M126438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks the ' ' did the trick. Though I dont know yet what they do... they work. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two more (minor) questions though:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Despite the fact, that I am using replace load - if I am running the script partially instead of replacing the table the new data is put into a new table with an interation. Why is that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) How can I prevent to get records with null values in my new table? I tried ERG-DatumZeit not null or &amp;lt;&amp;gt;null but those caused errors as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Matthias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 13:22:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/WHERE-in-a-replace-load-Statement-Help-Needed/m-p/342285#M126438</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-07T13:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: WHERE in a replace load Statement - Help Needed</title>
      <link>https://community.qlik.com/t5/QlikView/WHERE-in-a-replace-load-Statement-Help-Needed/m-p/342286#M126439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;2) not isnull(&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;ERG-DatumZeit&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) not sure, need to have a sample data to check&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 13:27:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/WHERE-in-a-replace-load-Statement-Help-Needed/m-p/342286#M126439</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2012-08-07T13:27:08Z</dc:date>
    </item>
  </channel>
</rss>

