<?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: Error Message with Sql Server 2008 R2 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-Message-with-Sql-Server-2008-R2/m-p/370886#M137941</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suggest you do a RAW data extraction (meaning no JOINS at all). Store your raw data on each QVD under individual table names, then load your QVD into your data model and do all the joins that you want. That is a better ETL practice. NULLASVALUE doesn't seem to work on QV most of the time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jul 2012 03:03:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-07-27T03:03:59Z</dc:date>
    <item>
      <title>Error Message with Sql Server 2008 R2</title>
      <link>https://community.qlik.com/t5/QlikView/Error-Message-with-Sql-Server-2008-R2/m-p/370884#M137939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Grettings, I have a problem with the DB, I was try it load data from my DB to a QVD files, and the error is at the moment to try load null values on my table's columns. Not all the data is null, but is a sql left join, then some data is null. &lt;/P&gt;&lt;P&gt;This is the sql sentence that I try it load:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RecruitTermination:&lt;/P&gt;&lt;P&gt;SQL SELECT FactEmployee.GlobalEmployeeId, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DimRecruitmentType.RecruitmentTypeId,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DimRecruitmentType.OriginalCode,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DimRecruitmentType.Description, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DimTerminationReason.TerminationReasonId,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DimTerminationReason.OriginalCode,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DimTerminationReason.Description,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DimTerminationReason.ShortDesc &lt;/P&gt;&lt;P&gt;FROM FactEmployee &lt;/P&gt;&lt;P&gt;INNER JOIN&amp;nbsp; DimRecruitmentType &lt;/P&gt;&lt;P&gt;ON FactEmployee.RecruitmentTypeId = DimRecruitmentType.RecruitmentTypeId &lt;/P&gt;&lt;P&gt;LEFT JOIN DimTerminationReason &lt;/P&gt;&lt;P&gt;ON FactEmployee.TerminationReasonId = DimTerminationReason.TerminationReasonId;&lt;/P&gt;&lt;P&gt;STORE RecruitTermination&lt;/P&gt;&lt;P&gt;INTO C:\Users\Administrador\Desktop\Reporte Qlikview\RecruitTermination.qvd;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the sql table, the first five columns have a full data, in other words, no null on this columns, but, the next columns we have a bug number of nulls.&lt;/P&gt;&lt;P&gt;So, in qlikview I was wrote before that expresion the sentence NULLASVALUE *; , but only works for the first column, DimTerminationReason.TerminationReasonId, for the second or anything else Qlikview show me a error message with the OLEDB conection ("Falló la lectura OLEDB", this is the error message, in spanish)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is, how I to get load all the columns with null values?, Thanks for the answer and I apologize for my poor level of English.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 22:40:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-Message-with-Sql-Server-2008-R2/m-p/370884#M137939</guid>
      <dc:creator />
      <dc:date>2012-07-26T22:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error Message with Sql Server 2008 R2</title>
      <link>https://community.qlik.com/t5/QlikView/Error-Message-with-Sql-Server-2008-R2/m-p/370885#M137940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First step is to make sure that your SELECT statement works in SQL Server mangement studio.&amp;nbsp; If there is a problem, it is easier to find it there.&amp;nbsp; After you find and fix it, copy back to QV script.&lt;BR /&gt;Next, if it works there but doesn't work in QV script (never happened to me), try to load tables separeately, and join after that.&amp;nbsp; It maybe not good for performance though:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RecruitTermination:&lt;BR /&gt;SQL SELECT&lt;BR /&gt;&amp;nbsp; GlobalEmployeeId,&lt;BR /&gt; RecruitmentTypeId ,&lt;BR /&gt; TerminationReasonId&lt;BR /&gt;FROM FactEmployee;&lt;/P&gt;&lt;P&gt;T&lt;BR /&gt;INNER JOIN (RecruitTermination) LOAD *;&lt;BR /&gt;SQL SELECT&lt;BR /&gt; RecruitmentTypeId,&lt;BR /&gt; OriginalCode,&lt;BR /&gt; Description&lt;BR /&gt;FROM DimRecruitmentType ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEFT JOIN (RecruitTermination) LOAD *;&lt;BR /&gt;SQL SELECT&lt;BR /&gt; TerminationReasonId,&lt;BR /&gt; OriginalCode,&lt;BR /&gt; Description,&lt;BR /&gt; ShortDesc &lt;BR /&gt;FROM DimTerminationReason;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is helpful to use log file, so you can see how many records loaded on each step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Michael&lt;BR /&gt;PS: maybe you need LEFT OUTER JOIN instead of INNER JOIN?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 23:50:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-Message-with-Sql-Server-2008-R2/m-p/370885#M137940</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-26T23:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: Error Message with Sql Server 2008 R2</title>
      <link>https://community.qlik.com/t5/QlikView/Error-Message-with-Sql-Server-2008-R2/m-p/370886#M137941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suggest you do a RAW data extraction (meaning no JOINS at all). Store your raw data on each QVD under individual table names, then load your QVD into your data model and do all the joins that you want. That is a better ETL practice. NULLASVALUE doesn't seem to work on QV most of the time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2012 03:03:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-Message-with-Sql-Server-2008-R2/m-p/370886#M137941</guid>
      <dc:creator />
      <dc:date>2012-07-27T03:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error Message with Sql Server 2008 R2</title>
      <link>https://community.qlik.com/t5/QlikView/Error-Message-with-Sql-Server-2008-R2/m-p/370887#M137942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks you two for the answers. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael, obviously the SQL querys works on the managment studio, I was test it before wrote the Qlikview Script, a moment ago I notice the problem of Qlikview with my query, it's the null value of TerminationReasonId in the Join staments.&lt;/P&gt;&lt;P&gt;The first part, the inner join, it works successful, and at that case INNER JOIN and LEFT OUTER JOIN show the same result. The second part, in the left outer join, on Qlikview generates a error, because the Employees (GlobalEmployeeId), only a part of them, have a TerminationReasonId, then, the left outer join consult on Qlikview a null value of TerminationReasonId that compares a not null value of itself on the TerminationReasonId in the DimTermination table, Am &lt;SPAN class="short_text" id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;I explaining&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;it well&lt;/SPAN&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN&gt;Anyway, you suggest works in show the data that I want, but, my problem is other, which I thought that show it in that way resolve it, but thanks you.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN&gt;Bernardine, I did the raw data extraction first of all, but on that way I not get the result that I want, for that reason I did try it with SQL JOIN. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN&gt;I repeat, thanks you two so much, regards &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2012 15:35:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-Message-with-Sql-Server-2008-R2/m-p/370887#M137942</guid>
      <dc:creator />
      <dc:date>2012-07-27T15:35:00Z</dc:date>
    </item>
  </channel>
</rss>

