<?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 Boolean (bit 1/0) vary depending on conncetion statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Boolean-bit-1-0-vary-depending-on-conncetion-statement/m-p/194097#M715894</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have an experience with your specific question, but -1 is True in QV as is 1. So they are logically equal if used in boolean expressions.&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Mar 2010 07:12:40 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2010-03-17T07:12:40Z</dc:date>
    <item>
      <title>Boolean (bit 1/0) vary depending on conncetion statement</title>
      <link>https://community.qlik.com/t5/QlikView/Boolean-bit-1-0-vary-depending-on-conncetion-statement/m-p/194096#M715893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I have noticed that Qlikview handle data type boolean (bit 1/0) diffrent if I write connection statement in the script or if I establish a permanent database connection through ODBC Data Source Administrator. Has this happend for you? If i establish permanent connection it works fine but if I use this connection statment below 1 becames -1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"&gt;CONNECT TO [Provider=SQLOLEDB.1;Persist Security Info=True;User ID=[xxxx];Initial Catalog=[xxxx];Data Source=[xxxx];Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=[xxxx];Use Encryption for Data=False;Tag with column collation when possible=False] (XPassword is [xxxx]);&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;/K&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Mar 2010 15:51:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Boolean-bit-1-0-vary-depending-on-conncetion-statement/m-p/194096#M715893</guid>
      <dc:creator />
      <dc:date>2010-03-16T15:51:46Z</dc:date>
    </item>
    <item>
      <title>Boolean (bit 1/0) vary depending on conncetion statement</title>
      <link>https://community.qlik.com/t5/QlikView/Boolean-bit-1-0-vary-depending-on-conncetion-statement/m-p/194097#M715894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have an experience with your specific question, but -1 is True in QV as is 1. So they are logically equal if used in boolean expressions.&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Mar 2010 07:12:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Boolean-bit-1-0-vary-depending-on-conncetion-statement/m-p/194097#M715894</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2010-03-17T07:12:40Z</dc:date>
    </item>
  </channel>
</rss>

