<?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 Intervalo de Fecha in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Intervalo-de-Fecha/m-p/263695#M1207290</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hola a todos. Necesito su ayuda. Tengo problemas para definir un intervalo de fecha en el script. La base de la que estoy levandando la información es de Visual Fox. La idea es que de la tabla &lt;B&gt;&lt;I&gt;h_detmov&lt;/I&gt;&lt;/B&gt; &lt;I&gt;solo cargue los datos que sean de una&lt;/I&gt; &lt;I&gt;fecha&lt;/I&gt; &lt;I&gt;inferior a 01/06/2010&lt;/I&gt;&lt;B&gt;&lt;I&gt;.&lt;/I&gt;&lt;/B&gt; &lt;I&gt;El Campo&lt;/I&gt; &lt;B&gt;&lt;I&gt;fecha&lt;/I&gt;&lt;/B&gt; &lt;I&gt;forma parte de la tabla.&lt;/I&gt;&lt;/P&gt;&lt;P style="font-style: italic; font-weight: bold"&gt;LOAD codunico,&lt;BR /&gt; fecha,&lt;BR /&gt; pu,&lt;BR /&gt; codmon,&lt;BR /&gt; dto,&lt;BR /&gt; codgrupo;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;I&gt;S&lt;/I&gt;&lt;I&gt;QL SELECT *&lt;BR /&gt;FROM `h_detmov` where fecha &amp;lt; '01/06/2010';&lt;/I&gt;&lt;/P&gt;&lt;P&gt;pero intente me salta el error:&lt;/P&gt;&lt;P style="font-style: italic; font-weight: bold"&gt;Error de SQL:Operator/operand type mismatch.&lt;BR /&gt; Línea de Script:SELECT * FROM `h_detmov` where fecha &amp;lt; 01/06/2010&lt;BR /&gt;SQL SELECT *&lt;BR /&gt;FROM `h_detmov` where fecha &amp;lt; 01/06/2010&lt;/P&gt;&lt;P&gt;espero que alguien tenga alguna sugerencia.&lt;/P&gt;&lt;P&gt;Desde ya muchas gracias.&lt;/P&gt;&lt;P&gt;Ale&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jun 2010 17:34:35 GMT</pubDate>
    <dc:creator>qvale</dc:creator>
    <dc:date>2010-06-23T17:34:35Z</dc:date>
    <item>
      <title>Intervalo de Fecha</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalo-de-Fecha/m-p/263695#M1207290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hola a todos. Necesito su ayuda. Tengo problemas para definir un intervalo de fecha en el script. La base de la que estoy levandando la información es de Visual Fox. La idea es que de la tabla &lt;B&gt;&lt;I&gt;h_detmov&lt;/I&gt;&lt;/B&gt; &lt;I&gt;solo cargue los datos que sean de una&lt;/I&gt; &lt;I&gt;fecha&lt;/I&gt; &lt;I&gt;inferior a 01/06/2010&lt;/I&gt;&lt;B&gt;&lt;I&gt;.&lt;/I&gt;&lt;/B&gt; &lt;I&gt;El Campo&lt;/I&gt; &lt;B&gt;&lt;I&gt;fecha&lt;/I&gt;&lt;/B&gt; &lt;I&gt;forma parte de la tabla.&lt;/I&gt;&lt;/P&gt;&lt;P style="font-style: italic; font-weight: bold"&gt;LOAD codunico,&lt;BR /&gt; fecha,&lt;BR /&gt; pu,&lt;BR /&gt; codmon,&lt;BR /&gt; dto,&lt;BR /&gt; codgrupo;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;I&gt;S&lt;/I&gt;&lt;I&gt;QL SELECT *&lt;BR /&gt;FROM `h_detmov` where fecha &amp;lt; '01/06/2010';&lt;/I&gt;&lt;/P&gt;&lt;P&gt;pero intente me salta el error:&lt;/P&gt;&lt;P style="font-style: italic; font-weight: bold"&gt;Error de SQL:Operator/operand type mismatch.&lt;BR /&gt; Línea de Script:SELECT * FROM `h_detmov` where fecha &amp;lt; 01/06/2010&lt;BR /&gt;SQL SELECT *&lt;BR /&gt;FROM `h_detmov` where fecha &amp;lt; 01/06/2010&lt;/P&gt;&lt;P&gt;espero que alguien tenga alguna sugerencia.&lt;/P&gt;&lt;P&gt;Desde ya muchas gracias.&lt;/P&gt;&lt;P&gt;Ale&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jun 2010 17:34:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalo-de-Fecha/m-p/263695#M1207290</guid>
      <dc:creator>qvale</dc:creator>
      <dc:date>2010-06-23T17:34:35Z</dc:date>
    </item>
    <item>
      <title>Intervalo de Fecha</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalo-de-Fecha/m-p/263696#M1207291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How your date field is stored is how you must reference it in SQL. For instance, a lot of our dates are stored as an integer like this:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;20100601&lt;/P&gt;&lt;P&gt;Therefore, my SQL is this:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;WHERE date &amp;lt; 20100601&lt;/P&gt;&lt;P&gt;But there are a lot of other date formats that you could be using. Whatever date format the database is using is the date format you need to use when comparing a literal to the database field. That is what the SQL error is telling you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jun 2010 19:20:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalo-de-Fecha/m-p/263696#M1207291</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-06-23T19:20:42Z</dc:date>
    </item>
    <item>
      <title>Intervalo de Fecha</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalo-de-Fecha/m-p/263697#M1207292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hola John.&lt;/P&gt;&lt;P&gt;No esta tomando el formato que sugeriste, pero si decis que el error el por el formato, voy a investigar un poco mas e ir probando otros, hasta que uno funcione.&lt;/P&gt;&lt;P&gt;Gracias.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jun 2010 19:57:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalo-de-Fecha/m-p/263697#M1207292</guid>
      <dc:creator>qvale</dc:creator>
      <dc:date>2010-06-23T19:57:27Z</dc:date>
    </item>
    <item>
      <title>Intervalo de Fecha</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalo-de-Fecha/m-p/263698#M1207293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;también puedes tratar convirtiendo la fecha a numero, por ejemplo 01/06/2010 es el numero 40330.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jun 2010 20:29:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalo-de-Fecha/m-p/263698#M1207293</guid>
      <dc:creator />
      <dc:date>2010-06-23T20:29:00Z</dc:date>
    </item>
  </channel>
</rss>

