<?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: Issue in table creation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Issue-in-table-creation/m-p/1256526#M848874</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;No.of rows is equal to 2 before dropping table a.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Mar 2017 07:11:13 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-03-22T07:11:13Z</dc:date>
    <item>
      <title>Issue in table creation</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-in-table-creation/m-p/1256524#M848872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have actually two tables in a database for hive.&lt;/P&gt;&lt;P&gt;DB Name : &lt;SPAN style="font-size: 13.3333px;"&gt;test_db&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;table_a &amp;amp; table_b.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once script is run , in sheet properties, we have only one table in Show Fields from table dropdown.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table labels are getting updated in for loop and only table a is getting dropped&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the code&lt;/P&gt;&lt;P&gt;//Connect to hive&lt;/P&gt;&lt;P&gt;ODBC CONNECT TO hpc_hive;&lt;/P&gt;&lt;P&gt;a:&lt;/P&gt;&lt;P&gt;SQL use test_db;&lt;/P&gt;&lt;P&gt;SQL show tables;&lt;/P&gt;&lt;P&gt;LET vTablecount=NoOfRows('a');&lt;/P&gt;&lt;P&gt;For i=0 To $(vTablecount) -1&lt;/P&gt;&lt;P&gt;LET vTablename=Peek('tab_name',$(i),'a');&lt;/P&gt;&lt;P&gt;LET vMyTableNameQVD =Peek('tab_name',$(i),'a');&lt;/P&gt;&lt;P&gt;$(vTablename):&lt;/P&gt;&lt;P&gt;SQL desc $(vTablename);&lt;/P&gt;&lt;P&gt;Next i;&lt;/P&gt;&lt;P&gt;DROP Table a;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-in-table-creation/m-p/1256524#M848872</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in table creation</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-in-table-creation/m-p/1256525#M848873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ashwin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trust that you are doing well!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you verified the no. of rows hold by table a (before dropping table a; you can do it by commenting every statement after &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SQL show tables;).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please correct me if I am wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 06:31:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-in-table-creation/m-p/1256525#M848873</guid>
      <dc:creator>rahulpawarb</dc:creator>
      <dc:date>2017-03-22T06:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in table creation</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-in-table-creation/m-p/1256526#M848874</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;No.of rows is equal to 2 before dropping table a.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 07:11:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-in-table-creation/m-p/1256526#M848874</guid>
      <dc:creator />
      <dc:date>2017-03-22T07:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in table creation</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-in-table-creation/m-p/1256527#M848875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ashwin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per my understanding tables are getting auto concatenated. To avoid this please use &lt;STRONG&gt;NoConcatenate&lt;/STRONG&gt; statement before the table name of load statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14901670473181180 jive_text_macro" jivemacro_uid="_14901670473181180"&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;//Connect to hive&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ODBC CONNECT TO hpc_hive;&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;a:&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL use test_db;&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL show tables;&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LET vTablecount=NoOfRows('a');&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;For i=0 To $(vTablecount) -1&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LET vTablename=Peek('tab_name',$(i),'a');&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LET vMyTableNameQVD =Peek('tab_name',$(i),'a');&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;NoConcatenate &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;$(vTablename):&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL desc $(vTablename);&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Next i;&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;DROP Table a;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 07:20:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-in-table-creation/m-p/1256527#M848875</guid>
      <dc:creator>rahulpawarb</dc:creator>
      <dc:date>2017-03-22T07:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in table creation</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-in-table-creation/m-p/1256528#M848876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rahul it is working fine now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2017 10:32:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-in-table-creation/m-p/1256528#M848876</guid>
      <dc:creator />
      <dc:date>2017-03-23T10:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in table creation</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-in-table-creation/m-p/1256529#M848877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2017 10:39:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-in-table-creation/m-p/1256529#M848877</guid>
      <dc:creator>rahulpawarb</dc:creator>
      <dc:date>2017-03-23T10:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in table creation</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-in-table-creation/m-p/1256530#M848878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tables are shown separately in sheet properties but the column names are not filtering according to the table since the header name is same for both tables. Can you help me out in this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2017 10:48:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-in-table-creation/m-p/1256530#M848878</guid>
      <dc:creator />
      <dc:date>2017-03-23T10:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in table creation</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-in-table-creation/m-p/1256531#M848879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ashwin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please share the application with sample data? This will help me to understand the situation and provide you required inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2017 10:55:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-in-table-creation/m-p/1256531#M848879</guid>
      <dc:creator>rahulpawarb</dc:creator>
      <dc:date>2017-03-23T10:55:08Z</dc:date>
    </item>
  </channel>
</rss>

