<?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 Line duplication SQL Select in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Line-duplication-SQL-Select/m-p/514465#M685628</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm extracting a table from SQL and the generated table has duplicated lines. The SQL table has no duplicated lines.&lt;/P&gt;&lt;P&gt;I only running the following script, no table before or after and no join just the database connection before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Item:&lt;/P&gt;&lt;P&gt;LOAD *;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;From MDTestDatabase.SAP.ViewItem;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i use a ditinct, i have the following results:&lt;/P&gt;&lt;P&gt;- LOAD Distinct *: no duplication&lt;/P&gt;&lt;P&gt;- SQL SELECT Distinct *: duplications&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, duplication is generated by LOAD statement and not SQL query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Dec 2013 11:00:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-12-20T11:00:29Z</dc:date>
    <item>
      <title>Line duplication SQL Select</title>
      <link>https://community.qlik.com/t5/QlikView/Line-duplication-SQL-Select/m-p/514465#M685628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm extracting a table from SQL and the generated table has duplicated lines. The SQL table has no duplicated lines.&lt;/P&gt;&lt;P&gt;I only running the following script, no table before or after and no join just the database connection before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Item:&lt;/P&gt;&lt;P&gt;LOAD *;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;From MDTestDatabase.SAP.ViewItem;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i use a ditinct, i have the following results:&lt;/P&gt;&lt;P&gt;- LOAD Distinct *: no duplication&lt;/P&gt;&lt;P&gt;- SQL SELECT Distinct *: duplications&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, duplication is generated by LOAD statement and not SQL query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 11:00:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-duplication-SQL-Select/m-p/514465#M685628</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-20T11:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Line duplication SQL Select</title>
      <link>https://community.qlik.com/t5/QlikView/Line-duplication-SQL-Select/m-p/514466#M685629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Omit the LOAD *; It doesn't do anything, or rather - it isn't supposed to do anything. The Item-table will be created by just executing the SQL SELECT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Weird phenomenon. Are you sure the View isn't populated with too many lines?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 11:16:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-duplication-SQL-Select/m-p/514466#M685629</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2013-12-20T11:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: Line duplication SQL Select</title>
      <link>https://community.qlik.com/t5/QlikView/Line-duplication-SQL-Select/m-p/514467#M685630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have found the problem.&lt;/P&gt;&lt;P&gt;There are 3 and 000003 as item code and Qlikview change the first in 000003.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vincen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 11:21:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-duplication-SQL-Select/m-p/514467#M685630</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-20T11:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: Line duplication SQL Select</title>
      <link>https://community.qlik.com/t5/QlikView/Line-duplication-SQL-Select/m-p/514468#M685631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's hard to believe that SQL SELECT Distinct or LOAD Distinct will give a resultset with duplicate rows. Maybe it's related to an associated table in the model?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you upload an example?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 11:22:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-duplication-SQL-Select/m-p/514468#M685631</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2013-12-20T11:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: Line duplication SQL Select</title>
      <link>https://community.qlik.com/t5/QlikView/Line-duplication-SQL-Select/m-p/514469#M685632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; text(FIELD) as FIELD,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you need to distinguish between 3 and 000003&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 11:23:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-duplication-SQL-Select/m-p/514469#M685632</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-12-20T11:23:51Z</dc:date>
    </item>
  </channel>
</rss>

