<?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 Binary Statement Clarification in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Binary-Statement-Clarification/m-p/198811#M57986</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is very useful when developping large models. I use it in a model that takes about 45 min to reload from SQL server, loads in about 12 seconds!&lt;/P&gt;&lt;P&gt;Also useful in version control, if you develop model for use by someone who doesn't have access to the database give them an empty model with binary reload from the file you maintain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 May 2010 10:52:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-05-24T10:52:04Z</dc:date>
    <item>
      <title>Binary Statement Clarification</title>
      <link>https://community.qlik.com/t5/QlikView/Binary-Statement-Clarification/m-p/198808#M57983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've searched the reference manual and this forum, and there's not much about the Binary statement. Has anyone used it? &lt;EM&gt;&lt;STRONG&gt;Why&lt;/STRONG&gt;&lt;/EM&gt; and &lt;EM&gt;&lt;STRONG&gt;When&lt;/STRONG&gt;&lt;/EM&gt; would you use it, rather than copying the code into the new project? Does it save memory? Is it faster?&lt;/P&gt;&lt;P&gt;It seems pretty straightforward on how to use it, but can someone give me some explanation on &lt;STRONG&gt;&lt;EM&gt;When&lt;/EM&gt;&lt;/STRONG&gt; to use it? And what is the reasoning behind only being able to use it once and at the beginning of the script? Any clarification on this would be much appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2009 05:22:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Binary-Statement-Clarification/m-p/198808#M57983</guid>
      <dc:creator />
      <dc:date>2009-09-25T05:22:37Z</dc:date>
    </item>
    <item>
      <title>Binary Statement Clarification</title>
      <link>https://community.qlik.com/t5/QlikView/Binary-Statement-Clarification/m-p/198809#M57984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you cannot reload a .qvw if you don't have the datasources used in the script. But you can binary load from let's say Source.qvw in the Target.qvw and then any time reload the Target.qvw and manipulate data structure there without having to have the data sources. As manual says binary load from qvw is as quick as loading from qvd (hence usually more quick than loading from the data sources). You can also restrict access to Source.qvw and give access only to Target.qvw; thus in the script of the Target.qvw "there is no reference to the original data sources and it will thus reveal nothing about the structure, passwords etc. of the database" (MANUAL!!).&lt;BR /&gt;The manual says: "Binary load uses very special logic to read the data already processed once into QlikView in another QlikView document. The "unpacking" used requires a "clean slate" in memory which is the reason why a Binary statement must be the very first statement in the script. Therefore it is also impossible to use Binary more than once in a script. However you can use QVD files to consolidate data from multiple QlikView documents at the same speed as with Binary."&lt;/P&gt;&lt;P&gt;Perhaps that helps,&lt;BR /&gt;Rgds,&lt;BR /&gt;Joachim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2009 12:33:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Binary-Statement-Clarification/m-p/198809#M57984</guid>
      <dc:creator>biester</dc:creator>
      <dc:date>2009-09-25T12:33:37Z</dc:date>
    </item>
    <item>
      <title>Binary Statement Clarification</title>
      <link>https://community.qlik.com/t5/QlikView/Binary-Statement-Clarification/m-p/198810#M57985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use binary load in only a single application. I binary load the entire data structure, then drop tables, fields, and field values that are sensitive. Only a few people have access to the original application. Many more people have access to the reduced application. It may now be possible to accomplish the same thing with data reduction, publisher and so on, but since the application has been working for a couple years now with very little current maintenance, I haven't reexamined the issue.&lt;/P&gt;&lt;P&gt;For a while, for development speed, I had used a binary load in another application. This seemed easier in that particular case than creating the needed new QVDs to support the two user applications. But I did go on to create the new QVDs, and change the user applications to load from the new QVDs, rather than having one do a lot of processing, and the other do a binary load. I don't consider that to have been a good use of a binary load, but sometimes the real world forces us into approaches that we would normally avoid.&lt;/P&gt;&lt;P&gt;What I doubt I would ever suggest is "copying the code into a new project". Please don't put yourself (or worse, someone else) in a situation where you must maintain two copies of the exact same code. That's at least a lot of extra trouble, and at worst a disaster in the making. In general, I would suggest putting the common code into a separate application that writes out one or more QVDs used by the two user applications.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2009 07:06:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Binary-Statement-Clarification/m-p/198810#M57985</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-09-29T07:06:53Z</dc:date>
    </item>
    <item>
      <title>Binary Statement Clarification</title>
      <link>https://community.qlik.com/t5/QlikView/Binary-Statement-Clarification/m-p/198811#M57986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is very useful when developping large models. I use it in a model that takes about 45 min to reload from SQL server, loads in about 12 seconds!&lt;/P&gt;&lt;P&gt;Also useful in version control, if you develop model for use by someone who doesn't have access to the database give them an empty model with binary reload from the file you maintain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 May 2010 10:52:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Binary-Statement-Clarification/m-p/198811#M57986</guid>
      <dc:creator />
      <dc:date>2010-05-24T10:52:04Z</dc:date>
    </item>
    <item>
      <title>Binary Statement Clarification</title>
      <link>https://community.qlik.com/t5/QlikView/Binary-Statement-Clarification/m-p/198812#M57987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;IT exports monthly qvd files from mainframe. I create qvw application with most important / used data to provide professional users (not entreprise licensed ones) to get quickly (reload time very short) to necessary date for their business requirements. They very often just have a binary line and an excel file in the script. Business applications are thus very simple to develop, understand and maintain.&lt;/P&gt;&lt;P&gt;Additionnal benefit, you can upgrade your data structure and all business application will inherit from the enhancements when reloaded.&lt;/P&gt;&lt;P&gt;My problem is now that I would very much appreciate to find a way to drop records not useful for specific uses in the specific business applications ... as binary load does not come with any where clause. Left keep from resident tables very often turn memory alerts on ([:'(])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jun 2010 17:59:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Binary-Statement-Clarification/m-p/198812#M57987</guid>
      <dc:creator>masselin</dc:creator>
      <dc:date>2010-06-29T17:59:38Z</dc:date>
    </item>
    <item>
      <title>Binary Statement Clarification</title>
      <link>https://community.qlik.com/t5/QlikView/Binary-Statement-Clarification/m-p/198813#M57988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I typically use inner joins to reduce my data after the fact. I have so far found them to be very fast and efficient. That should work just fine after a binary load.&lt;/P&gt;&lt;P&gt;So for example, you have every order item you've ever had along with every item that was ordered in a QVW. For a specific business application, you only want the active orders and associated items. Lets say the item specifies the order it is for. You could probably do something like this:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;BINARY AllOrdersAndItems.qvw;&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;INNER JOIN ([Orders])&lt;BR /&gt;LOAD 'Active' as Status&lt;BR /&gt;AUTOGENERATE 1&lt;BR /&gt;;&lt;BR /&gt;INNER JOIN ([Items])&lt;BR /&gt;LOAD Order&lt;BR /&gt;RESIDENT [Orders]&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;Edit: Mind you, I'd instead do this, but that's the QVD way, not the QVW way:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;[Orders]:&lt;BR /&gt;LOAD 'Active' as Status&lt;BR /&gt;AUTOGENERATE 1&lt;BR /&gt;;&lt;BR /&gt;INNER JOIN ([Orders])&lt;BR /&gt;LOAD&lt;BR /&gt; fields I care about&lt;BR /&gt;FROM Orders.qvd (QVD)&lt;BR /&gt;WHERE exists(Status)&lt;BR /&gt;;&lt;BR /&gt;[Items]:&lt;BR /&gt;LOAD&lt;BR /&gt; fields I care about&lt;BR /&gt;FROM Items.qvd (QVD)&lt;BR /&gt;WHERE exists(Order)&lt;BR /&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jun 2010 22:01:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Binary-Statement-Clarification/m-p/198813#M57988</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-06-29T22:01:20Z</dc:date>
    </item>
  </channel>
</rss>

