<?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 QV/SQL database query in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QV-SQL-database-query/m-p/1122207#M369760</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial',sans-serif; color: #002060;"&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial',sans-serif; color: #002060;"&gt;I have a concern regarding the data delivered by QlickView app and would like to match QV returned output with database SQL query result.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial',sans-serif; color: #002060;"&gt;Question: how can I get the SQL statement built by QV (including data load portion of it) in order to run it directly against DB through any Development tool (Oracle SQL Developer for instance).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial',sans-serif; color: #002060;"&gt;Appreciated in advance,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial',sans-serif; color: #002060;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Leon&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jul 2016 22:20:48 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-07-08T22:20:48Z</dc:date>
    <item>
      <title>QV/SQL database query</title>
      <link>https://community.qlik.com/t5/QlikView/QV-SQL-database-query/m-p/1122207#M369760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial',sans-serif; color: #002060;"&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial',sans-serif; color: #002060;"&gt;I have a concern regarding the data delivered by QlickView app and would like to match QV returned output with database SQL query result.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial',sans-serif; color: #002060;"&gt;Question: how can I get the SQL statement built by QV (including data load portion of it) in order to run it directly against DB through any Development tool (Oracle SQL Developer for instance).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial',sans-serif; color: #002060;"&gt;Appreciated in advance,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial',sans-serif; color: #002060;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Leon&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2016 22:20:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-SQL-database-query/m-p/1122207#M369760</guid>
      <dc:creator />
      <dc:date>2016-07-08T22:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: QV/SQL database query</title>
      <link>https://community.qlik.com/t5/QlikView/QV-SQL-database-query/m-p/1122208#M369761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any SQL statements used to load the data will be present in the Load Script. You should be able to see them there. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chart computations do not use anything like SQL, so there is no equivalent to see. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2016 22:45:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-SQL-database-query/m-p/1122208#M369761</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2016-07-08T22:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: QV/SQL database query</title>
      <link>https://community.qlik.com/t5/QlikView/QV-SQL-database-query/m-p/1122209#M369762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Rob. I really didn't expect any respond on Friday evening.&lt;/P&gt;&lt;P&gt;Keeping in mind that I am still learning this stuff, I would appreciate if you can point me to the 'Load Script' functionality for the complete report if you don't mind (I checked all .qvw available menus, but couldn't find it). If it is not an option, I'll research the books.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciated for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Leon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2016 23:25:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-SQL-database-query/m-p/1122209#M369762</guid>
      <dc:creator />
      <dc:date>2016-07-08T23:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: QV/SQL database query</title>
      <link>https://community.qlik.com/t5/QlikView/QV-SQL-database-query/m-p/1122210#M369763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Within the editor you could connect to a database and select the needed fields per wizard. Here a few posting which will be helpful for you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3576"&gt;The Great ODBC Confusion&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-6484"&gt;Connectivity to Oracle Database&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2972"&gt;Preceding Load&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Jul 2016 05:03:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-SQL-database-query/m-p/1122210#M369763</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-07-10T05:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: QV/SQL database query</title>
      <link>https://community.qlik.com/t5/QlikView/QV-SQL-database-query/m-p/1122211#M369764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;Hi Leon,&lt;/P&gt;&lt;P class=""&gt;After opening the qvw in Qlikview desktop, you can view the load script by opening the script editor from the menu: File, Edit Script ( Ctrl e). Note you can only open the script when the file is opened from the file system using Qlikview desktop. You cannot view the script if the app had been opened from Access Point using the browser.&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2016 20:54:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-SQL-database-query/m-p/1122211#M369764</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2016-07-11T20:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: QV/SQL database query</title>
      <link>https://community.qlik.com/t5/QlikView/QV-SQL-database-query/m-p/1122212#M369765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial',sans-serif; color: #002060;"&gt;Rob,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial',sans-serif; color: #002060;"&gt;I already have tried that, but the way it is setup by my developer is the simple code in the File &amp;gt;’Edit Script’ where he is gathering all variable definitions from external file (and I do have a content of this file):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial',sans-serif; color: #002060;"&gt;Formulas:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial',sans-serif; color: #002060;"&gt;LOAD ReportName, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial',sans-serif; color: #002060;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Variable, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial',sans-serif; color: #002060;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Expression, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial',sans-serif; color: #002060;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Description&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial',sans-serif; color: #002060;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial',sans-serif; color: #002060;"&gt;&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial',sans-serif; color: #002060;"&gt;(biff, embedded labels, table is Sheet1$);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial',sans-serif; color: #002060;"&gt;Let vNoOfRows= NoOfRows('Formulas');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial',sans-serif; color: #002060;"&gt;FOR i=0 to (vNoOfRows-1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial',sans-serif; color: #002060;"&gt;&amp;nbsp; LET vVariable_Name = Peek('Variable',i,'Formulas'); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial',sans-serif; color: #002060;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial',sans-serif; color: #002060;"&gt;&amp;nbsp; LET $(vVariable_Name) = Peek('Expression',i,'Formulas');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial',sans-serif; color: #002060;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial',sans-serif; color: #002060;"&gt;NEXT&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial',sans-serif; color: #002060;"&gt;I understand how it works, but it is not exactly what I am looking for.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial',sans-serif; color: #002060;"&gt;As I mentioned, I have a concern regarding the data output from QV report and would like to run the COMPLETE query it creates on background against the database directly through any development tool.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial',sans-serif; color: #002060;"&gt;This is an option in other BI tools (Cognos for instance) and I am just wondering if QV allowing to do that. Is it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial',sans-serif; color: #002060;"&gt;Marcus,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial',sans-serif; color: #002060;"&gt;These documents are very helpful, but I already figured out the way to establish the database connection even it is not described in QV deployment materials. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial',sans-serif; color: #002060;"&gt;Thank you for your help, guys!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial',sans-serif; color: #002060;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Leon&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2016 22:21:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-SQL-database-query/m-p/1122212#M369765</guid>
      <dc:creator />
      <dc:date>2016-07-11T22:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: QV/SQL database query</title>
      <link>https://community.qlik.com/t5/QlikView/QV-SQL-database-query/m-p/1122213#M369766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;Hi Leon&lt;/P&gt;&lt;P class=""&gt;There is no "background query" involved. QV works differently than other tools in that it does not issue any queries to a backend database to produce analysis. So there is no SQL to examine.&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;It does however, pre load all the data from database or files via the load script. The load script you posted looks incomplete. I'm guessing your load script has multiple tabs and you are only looking at the last tab of the script.&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2016 01:06:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-SQL-database-query/m-p/1122213#M369766</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2016-07-12T01:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: QV/SQL database query</title>
      <link>https://community.qlik.com/t5/QlikView/QV-SQL-database-query/m-p/1122214#M369767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial',sans-serif; color: #002060;"&gt;Rob,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial',sans-serif; color: #002060;"&gt;It is correct, I provided a content of one ‘Import Formulas’ tab only with impression that two more tabs ‘Main’ and ‘Section Access’ are not relevant to the subject discussing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial',sans-serif; color: #002060;"&gt;I guess I am too fresh to QlikView in order to discuss details, but I do understand what you are saying.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial',sans-serif; color: #002060;"&gt;Thank you for clarification!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial',sans-serif; color: #002060;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Leon&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2016 01:26:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-SQL-database-query/m-p/1122214#M369767</guid>
      <dc:creator />
      <dc:date>2016-07-12T01:26:09Z</dc:date>
    </item>
  </channel>
</rss>

