<?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: How many tables are created when I load a script with two tables having same fields? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-many-tables-are-created-when-I-load-a-script-with-two-tables/m-p/934650#M952635</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NIce explanation Jonathan &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Dec 2015 07:22:05 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-12-07T07:22:05Z</dc:date>
    <item>
      <title>How many tables are created when I load a script with two tables having same fields?</title>
      <link>https://community.qlik.com/t5/QlikView/How-many-tables-are-created-when-I-load-a-script-with-two-tables/m-p/934643#M952628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've the following script. How many tables will be there in the schema when I load the script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GeneralStore1:&lt;/P&gt;&lt;P&gt;LOAD Emp_ID,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalaryLimit,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Estd_date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ContactAddr;&lt;/P&gt;&lt;P&gt;SQL SELECT Emp_ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalaryLimit,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Estd_date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ContactAddr&lt;/P&gt;&lt;P&gt;FROM first_store;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GeneralStore2:&lt;/P&gt;&lt;P&gt;LOAD Emp_ID,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalaryLimit,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Estd_date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ContactAddr;&lt;/P&gt;&lt;P&gt;SQL SELECT Emp_ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalaryLimit,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Estd_date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ContactAddr&lt;/P&gt;&lt;P&gt;FROM second_store;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was thinking that there will be two tables with synthetic key formed inbetween, or maybe two tables with three fields connected. But my assumption was wrong and I was told that there will only be one table with the name GeneralStore1 in the schema.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please tell why would it be so??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 01:12:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-many-tables-are-created-when-I-load-a-script-with-two-tables/m-p/934643#M952628</guid>
      <dc:creator />
      <dc:date>2015-12-02T01:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: How many tables are created when I load a script with two tables having same fields?</title>
      <link>https://community.qlik.com/t5/QlikView/How-many-tables-are-created-when-I-load-a-script-with-two-tables/m-p/934644#M952629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Qlikview concatenate automatically&amp;nbsp; , if fields are same . Hence you got only one table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 07:24:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-many-tables-are-created-when-I-load-a-script-with-two-tables/m-p/934644#M952629</guid>
      <dc:creator>vikasmahajan</dc:creator>
      <dc:date>2015-12-02T07:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: How many tables are created when I load a script with two tables having same fields?</title>
      <link>https://community.qlik.com/t5/QlikView/How-many-tables-are-created-when-I-load-a-script-with-two-tables/m-p/934645#M952630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a lot of explanation about concatenation out there. In short, the table GeneralStore 2 are sticked "underneath" the GeneralStore1 with the fields in the same order. So if you have two names "A" &amp;amp; "B" in the first table, and two names "A" &amp;amp; "C" in the second table. You will get one table with the names "A","B", "A", "C".&lt;/P&gt;&lt;P&gt;What result are you looking for?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Dec 2015 16:16:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-many-tables-are-created-when-I-load-a-script-with-two-tables/m-p/934645#M952630</guid>
      <dc:creator />
      <dc:date>2015-12-06T16:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: How many tables are created when I load a script with two tables having same fields?</title>
      <link>https://community.qlik.com/t5/QlikView/How-many-tables-are-created-when-I-load-a-script-with-two-tables/m-p/934646#M952631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;- if you have the same number and names of fields Qlik will concatenate the 2 tables; this happened with your script; you get one table, the first you load &lt;/P&gt;&lt;P&gt;- if you don't want this use noconcatenate;&amp;nbsp; add noconcatenate to the second table load, you'll get a syn key&lt;/P&gt;&lt;P&gt;- if you want to concatenate tables with different number and/or names of fields use concatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;From Qlik help &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H1&gt;&lt;EM&gt;&lt;A name="kanchor883"&gt;&lt;/A&gt;&lt;/EM&gt;&lt;/H1&gt;&lt;H1&gt;&lt;/H1&gt;&lt;H1&gt;&lt;EM&gt;NoConcatenate&lt;/EM&gt;&lt;/H1&gt;&lt;P&gt;&lt;EM&gt;The &lt;SPAN class="Bold"&gt;NoConcatenate&lt;/SPAN&gt; prefix forces two loaded tables with identical field sets to be treated as two separate internal tables, when they otherwise would be automatically be concatenated. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The syntax is:&lt;/EM&gt;&lt;/P&gt;&lt;H4 class="syntax"&gt;&lt;EM&gt;&lt;SPAN class="Bold"&gt;noconcatenate&lt;/SPAN&gt; &lt;SPAN class="Italic"&gt;( loadstatement | selectstatement )&lt;/SPAN&gt; &lt;/EM&gt;&lt;/H4&gt;&lt;P class="example"&gt;&lt;EM&gt;Example:&lt;/EM&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;EM&gt;Load A,B from file1.csv;&lt;/EM&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;EM&gt;noconcatenate load A,B from file2.csv;&lt;/EM&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;H1&gt;&lt;EM&gt;&lt;A name="kanchor405"&gt;&lt;/A&gt;Concatenate&lt;/EM&gt;&lt;/H1&gt;&lt;P&gt;&lt;EM&gt;If two tables that are to be concatenated have different sets of &lt;A class="MCXref_0"&gt;Fields&lt;/A&gt;, &lt;A class="MCXref_0"&gt;Concatenation&lt;/A&gt; of two tables can still be forced with the &lt;SPAN class="Bold"&gt;Concatenate&lt;/SPAN&gt; prefix. This statement forces concatenation with an existing named table or the latest previously created &lt;A class="MCXref_0"&gt;Logical Table&lt;/A&gt;. A concatenation is in principle the same as the SQL UNION statement, but with two differences: first that &lt;SPAN class="Bold"&gt;Concatenate&lt;/SPAN&gt; prefix can be used no matter if the tables have identical field names or not; and secondly that no removal of identical records are made. When DISTINCT predicate is used in a LOAD statement, the resulting table becomes distinct. Any data added to the table also becomes distinct, regardless if the data is concatenated or joined.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The syntax is:&lt;/EM&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;EM&gt;&lt;SPAN class="Bold"&gt;concatenate&lt;/SPAN&gt; &lt;SPAN class="Italic"&gt;[ &lt;SPAN class="Bold"&gt;(&lt;/SPAN&gt;tablename &lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; ] ( loadstatement | selectstatement )&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="example"&gt;&lt;EM&gt;Examples:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Concatenate LOAD* FROM file2.csv;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Concatenate SQL SELECT * FROM table3;&lt;/EM&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;EM&gt;tab1: &lt;/EM&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;EM&gt;Load * from file1.csv;&lt;/EM&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;EM&gt;tab2:&lt;/EM&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;EM&gt;load * from file2.csv;&lt;/EM&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;EM&gt;.. .. .. &lt;/EM&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;EM&gt;Concatenate (tab1) load * from file3.csv;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Dec 2015 17:01:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-many-tables-are-created-when-I-load-a-script-with-two-tables/m-p/934646#M952631</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-12-06T17:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: How many tables are created when I load a script with two tables having same fields?</title>
      <link>https://community.qlik.com/t5/QlikView/How-many-tables-are-created-when-I-load-a-script-with-two-tables/m-p/934647#M952632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because of Auto concatenate concept in qlikview you will get one table as Vikas said..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you do not want one table you can use NOconcatenate&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Dec 2015 00:57:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-many-tables-are-created-when-I-load-a-script-with-two-tables/m-p/934647#M952632</guid>
      <dc:creator />
      <dc:date>2015-12-07T00:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: How many tables are created when I load a script with two tables having same fields?</title>
      <link>https://community.qlik.com/t5/QlikView/How-many-tables-are-created-when-I-load-a-script-with-two-tables/m-p/934648#M952633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we load two same tables. qlikview automatically creates full outer join and Creates a single table if the fields are same or else if fields are different unmatched records will get appended automatically in new single table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14494611913452636 jive_text_macro" jivemacro_uid="_14494611913452636"&gt;
&lt;P&gt;T:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LOAD * INLINE [&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID, Name&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, Mike&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, Nik&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;T2:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LOAD * INLINE [&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID, Name&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, Mike&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, Nik&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;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we load this table we will get a result like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="108191" alt="2 tables full outer join.PNG" class="jive-image image-1" src="/legacyfs/online/108191_2 tables full outer join.PNG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Hope this helps ,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;HirisH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Dec 2015 04:08:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-many-tables-are-created-when-I-load-a-script-with-two-tables/m-p/934648#M952633</guid>
      <dc:creator>HirisH_V7</dc:creator>
      <dc:date>2015-12-07T04:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: How many tables are created when I load a script with two tables having same fields?</title>
      <link>https://community.qlik.com/t5/QlikView/How-many-tables-are-created-when-I-load-a-script-with-two-tables/m-p/934649#M952634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lets correct some misconceptions.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Qlikview will concatenate (not join) if the two tables have the same list of fields. Hiris, a table box does not display duplicates, so you only see two rows, but if you count the rows or check the table viewer, you will see 4 rows.&lt;/LI&gt;&lt;LI&gt;You can force concatenation using the concatenate keyword. If you concatenate tables containing A, B and A,C the result table will contain A, B, C, (not A, B , A, C) - with nulls for the missing values of C and B respectively.&lt;/LI&gt;&lt;LI&gt;Qliview can and does store duplicate rows - it is not a normal form database.&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Dec 2015 05:05:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-many-tables-are-created-when-I-load-a-script-with-two-tables/m-p/934649#M952634</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-12-07T05:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: How many tables are created when I load a script with two tables having same fields?</title>
      <link>https://community.qlik.com/t5/QlikView/How-many-tables-are-created-when-I-load-a-script-with-two-tables/m-p/934650#M952635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NIce explanation Jonathan &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Dec 2015 07:22:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-many-tables-are-created-when-I-load-a-script-with-two-tables/m-p/934650#M952635</guid>
      <dc:creator />
      <dc:date>2015-12-07T07:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: How many tables are created when I load a script with two tables having same fields?</title>
      <link>https://community.qlik.com/t5/QlikView/How-many-tables-are-created-when-I-load-a-script-with-two-tables/m-p/934651#M952636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"You can force concatenation using the concatenate keyword. If you concatenate tables containing A, B and A,C the result table will contain A, B, C, (not A, B , A, C) - with nulls for the missing values of C and B respectively."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;?????????????????????????????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Either you get duplicates i one field or duplicates split on two fields depending on (re)naming of the fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Dec 2015 21:34:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-many-tables-are-created-when-I-load-a-script-with-two-tables/m-p/934651#M952636</guid>
      <dc:creator />
      <dc:date>2015-12-07T21:34:45Z</dc:date>
    </item>
  </channel>
</rss>

