<?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: script problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/script-problem/m-p/789978#M1297324</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hm...&lt;/P&gt;&lt;P&gt;So each table from DB converted into QVD ?&lt;/P&gt;&lt;P&gt;Am I right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrei&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Jan 2015 14:01:37 GMT</pubDate>
    <dc:creator>crusader_</dc:creator>
    <dc:date>2015-01-29T14:01:37Z</dc:date>
    <item>
      <title>script problem</title>
      <link>https://community.qlik.com/t5/QlikView/script-problem/m-p/789975#M1297316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to user this SQL query in qlikview script :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select Level00,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Level02,&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;&amp;nbsp; SELECT TOP 1 Level2&lt;/P&gt;&lt;P&gt;&amp;nbsp; FROM demo m&lt;/P&gt;&lt;P&gt;&amp;nbsp; WHERE m.ProductCode = tb.ProductCode&lt;/P&gt;&lt;P&gt;&amp;nbsp; AND (&lt;/P&gt;&lt;P&gt;&amp;nbsp; m.StoreCode = sm.StoreCode&lt;/P&gt;&lt;P&gt;&amp;nbsp; OR m.StoreCode IS NULL&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp; AND m.CreatedDate &amp;lt;= tb.CreatedOn&lt;/P&gt;&lt;P&gt;&amp;nbsp; ELSE 1 END)&lt;/P&gt;&lt;P&gt;&amp;nbsp; ORDER BY m.CreatedDate DESC&lt;/P&gt;&lt;P&gt;&amp;nbsp; ) AS 'Level2'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM dbo.User(NOLOCK) umr&lt;/P&gt;&lt;P&gt;INNER JOIN tempDemo tb ON tb.ModuleID = srm.ModuleID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reply..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script-problem/m-p/789975#M1297316</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: script problem</title>
      <link>https://community.qlik.com/t5/QlikView/script-problem/m-p/789976#M1297319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create ODBC (OLE DB) connection to your database.&lt;/P&gt;&lt;P&gt;And use below script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;SQL&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Select Level00,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; Level02,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; SELECT TOP 1 Level2&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; FROM demo m&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; WHERE m.ProductCode = tb.ProductCode&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; AND (&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; m.StoreCode = sm.StoreCode&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; OR m.StoreCode IS NULL&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; )&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; AND m.CreatedDate &amp;lt;= tb.CreatedOn&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; ELSE 1 END)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; ORDER BY m.CreatedDate DESC&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; ) AS 'Level2'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM dbo.User(NOLOCK) umr&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;INNER JOIN tempDemo tb ON tb.ModuleID = srm.ModuleID;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hope this helps.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Andrei Kaliahin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 13:48:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script-problem/m-p/789976#M1297319</guid>
      <dc:creator>crusader_</dc:creator>
      <dc:date>2015-01-29T13:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: script problem</title>
      <link>https://community.qlik.com/t5/QlikView/script-problem/m-p/789977#M1297323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for reply but i am working on qvd so i have to create logic .&lt;/P&gt;&lt;P&gt;I can't fetch this from DB.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 13:59:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script-problem/m-p/789977#M1297323</guid>
      <dc:creator />
      <dc:date>2015-01-29T13:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: script problem</title>
      <link>https://community.qlik.com/t5/QlikView/script-problem/m-p/789978#M1297324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hm...&lt;/P&gt;&lt;P&gt;So each table from DB converted into QVD ?&lt;/P&gt;&lt;P&gt;Am I right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrei&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 14:01:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script-problem/m-p/789978#M1297324</guid>
      <dc:creator>crusader_</dc:creator>
      <dc:date>2015-01-29T14:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: script problem</title>
      <link>https://community.qlik.com/t5/QlikView/script-problem/m-p/789979#M1297326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 14:28:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script-problem/m-p/789979#M1297326</guid>
      <dc:creator />
      <dc:date>2015-01-29T14:28:05Z</dc:date>
    </item>
  </channel>
</rss>

