<?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 How can I convert a SQL to QV Script? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-can-I-convert-a-SQL-to-QV-Script/m-p/759985#M666910</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I'm working for a project to convert an application built in MS Excel to QlikView.&lt;/P&gt;&lt;P&gt;I understand these two are based on different concepts, however, because the result of the applicaiton should be the same, some codes are needed to be converted simply...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I'm in stuck is this.&lt;/P&gt;&lt;P&gt;There are two qvd files and I want to manage this function in qv script.&lt;/P&gt;&lt;P&gt;-----------------------------------------------------&lt;/P&gt;&lt;P&gt;SELECT *&lt;/P&gt;&lt;P&gt;FROM QVD1, QVD2&lt;/P&gt;&lt;P&gt;WHERE QVD1.CD = QVD2.CD&lt;/P&gt;&lt;P&gt;AND QVD1.DATE &amp;gt;= QVD2.RANGE_FROM&lt;/P&gt;&lt;P&gt;AND QVD1.DATE &amp;lt; QVD2.RANGE_TO&lt;/P&gt;&lt;P&gt;-----------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QVD1. CD nor QVD2. CD are not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does any body have any ideas or solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Nov 2014 11:46:53 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-11-17T11:46:53Z</dc:date>
    <item>
      <title>How can I convert a SQL to QV Script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-convert-a-SQL-to-QV-Script/m-p/759985#M666910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I'm working for a project to convert an application built in MS Excel to QlikView.&lt;/P&gt;&lt;P&gt;I understand these two are based on different concepts, however, because the result of the applicaiton should be the same, some codes are needed to be converted simply...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I'm in stuck is this.&lt;/P&gt;&lt;P&gt;There are two qvd files and I want to manage this function in qv script.&lt;/P&gt;&lt;P&gt;-----------------------------------------------------&lt;/P&gt;&lt;P&gt;SELECT *&lt;/P&gt;&lt;P&gt;FROM QVD1, QVD2&lt;/P&gt;&lt;P&gt;WHERE QVD1.CD = QVD2.CD&lt;/P&gt;&lt;P&gt;AND QVD1.DATE &amp;gt;= QVD2.RANGE_FROM&lt;/P&gt;&lt;P&gt;AND QVD1.DATE &amp;lt; QVD2.RANGE_TO&lt;/P&gt;&lt;P&gt;-----------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QVD1. CD nor QVD2. CD are not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does any body have any ideas or solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2014 11:46:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-convert-a-SQL-to-QV-Script/m-p/759985#M666910</guid>
      <dc:creator />
      <dc:date>2014-11-17T11:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: How can I convert a SQL to QV Script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-convert-a-SQL-to-QV-Script/m-p/759986#M666911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;&amp;gt; QVD1. CD nor QVD2. CD are not.&lt;/P&gt;&lt;P&gt;Sorry I meant "QVD1. CD nor QVD2. CD are not unique"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2014 11:57:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-convert-a-SQL-to-QV-Script/m-p/759986#M666911</guid>
      <dc:creator />
      <dc:date>2014-11-17T11:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: How can I convert a SQL to QV Script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-convert-a-SQL-to-QV-Script/m-p/759987#M666912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Seiko,&lt;/P&gt;&lt;P&gt;to do these select you can make&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;qualify *;&lt;/P&gt;&lt;P&gt;unqualify CD;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T:&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM QVD1.qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inner join (T)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;FROM QVD2.qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;unqualify *;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T_Result:&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;Resident T&lt;/P&gt;&lt;P&gt;where&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;T.DATE &amp;gt;= T.RANGE_FROM&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;AND T.DATE &amp;lt; T.RANGE_TO;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table T;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the first two load check the names of colums in table T, I think they start with T.&lt;/P&gt;&lt;P&gt;So in the table T_Result you must to insert the correct name in where.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Luca Jonathan Panetta&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.pljsoftware.com/"&gt;PLJ Software&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2014 12:06:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-convert-a-SQL-to-QV-Script/m-p/759987#M666912</guid>
      <dc:creator>pljsoftware</dc:creator>
      <dc:date>2014-11-17T12:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: How can I convert a SQL to QV Script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-convert-a-SQL-to-QV-Script/m-p/759988#M666913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Panetta,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your prompt answer!&lt;/P&gt;&lt;P&gt;Yes, it seems ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again! &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;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 01:23:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-convert-a-SQL-to-QV-Script/m-p/759988#M666913</guid>
      <dc:creator />
      <dc:date>2014-11-18T01:23:26Z</dc:date>
    </item>
  </channel>
</rss>

