<?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 in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-in-script/m-p/339658#M125381</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Pls to look image adjust ...&lt;/P&gt;&lt;P&gt;Good luck, Luis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Apr 2012 23:55:09 GMT</pubDate>
    <dc:creator>llauses243</dc:creator>
    <dc:date>2012-04-05T23:55:09Z</dc:date>
    <item>
      <title>Error in script</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-script/m-p/339656#M125379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need some help. I made this script (copied a bit from an example on this community).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODBC CONNECT TO [algemeen;DBQ=ALGEMEEN] (XUserId is HXeGdXNMUTeA, XPassword is AKeZORRGYZMEXZNB);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;BR /&gt;Load *;&lt;BR /&gt;SQL SELECT 'gabel' omgeving, a.owner owner , a.table_name tabel_naam, b.num_rows num_rows, b.last_analyzed last_analyzed&lt;BR /&gt;FROM &lt;A href="mailto:all_tables@gabel"&gt;all_tables@gabel&lt;/A&gt; a&lt;BR /&gt;,&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="mailto:dba_tab_statistics@gabel"&gt;dba_tab_statistics@gabel&lt;/A&gt; b&lt;BR /&gt;where a.owner not in ('SYSTEM', 'SYS') &lt;BR /&gt;and&amp;nbsp;&amp;nbsp;&amp;nbsp; a.table_name = b.table_name ;&lt;BR /&gt;CONCATENATE&lt;BR /&gt;Load *;&lt;BR /&gt;SQL SELECT 'gpbel' omgeving, a.owner owner , a.table_name tabel_naam, b.num_rows num_rows, b.last_analyzed last_analyzed&lt;BR /&gt;FROM &lt;A href="mailto:all_tables@gpbel"&gt;all_tables@gpbel&lt;/A&gt; a&lt;BR /&gt;,&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="mailto:dba_tab_statistics@gpbel"&gt;dba_tab_statistics@gpbel&lt;/A&gt; b&lt;BR /&gt;where a.owner not in ('SYSTEM', 'SYS') &lt;BR /&gt;and&amp;nbsp;&amp;nbsp;&amp;nbsp; a.table_name = b.table_name ;&lt;/P&gt;&lt;P&gt;INNER JOIN (Table)&lt;BR /&gt;LOAD *&lt;BR /&gt;WHERE "Only in One Table?"&lt;BR /&gt;&amp;nbsp; OR&amp;nbsp; "Amount Different?"&lt;BR /&gt;;&lt;BR /&gt;LOAD &lt;BR /&gt;&amp;nbsp; tabel_naam&lt;BR /&gt;,if(count(a.table_name)&amp;lt;2,-1) as "Only in One Table?"&lt;BR /&gt;,if(max(num_rows)&amp;lt;&amp;gt;min(num_rows),-1) as "Amount Different?"&lt;BR /&gt;RESIDENT Table&lt;BR /&gt;GROUP BY tabel_naam&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to compare both tables. After reload of data I got error message:&lt;/P&gt;&lt;P&gt;Veld niet gevonden - &amp;lt;tabel_naam&amp;gt;&amp;nbsp; (Veld niet gevonden = Field not found)&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp; tabel_naam&lt;/P&gt;&lt;P&gt;,if(count(a.table_name)&amp;lt;2,-1) as "Only in One Table?"&lt;/P&gt;&lt;P&gt;,if(max(num_rows)&amp;lt;&amp;gt;min(num_rows),-1) as "Amount Different?"&lt;/P&gt;&lt;P&gt;RESIDENT Table&lt;/P&gt;&lt;P&gt;GROUP BY tabel_naam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me to solve my problem? Thanks in advance. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2012 14:37:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-script/m-p/339656#M125379</guid>
      <dc:creator>schultem</dc:creator>
      <dc:date>2012-04-05T14:37:49Z</dc:date>
    </item>
    <item>
      <title>Error in script</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-script/m-p/339657#M125380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe try putting the alias for tabel_naam in the QlikView LOAD rather than the SQL script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2012 16:43:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-script/m-p/339657#M125380</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-04-05T16:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: Error in script</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-script/m-p/339658#M125381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Pls to look image adjust ...&lt;/P&gt;&lt;P&gt;Good luck, Luis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2012 23:55:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-script/m-p/339658#M125381</guid>
      <dc:creator>llauses243</dc:creator>
      <dc:date>2012-04-05T23:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error in script</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-script/m-p/339659#M125382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Unfortunately this doesn't help. It still says: &lt;/P&gt;&lt;P&gt;Veld niet gevonden - &amp;lt;tabel_naam&amp;gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp; tabel_naam&lt;/P&gt;&lt;P&gt;,if(count(tabel_naam)&amp;lt;2,-1) as "Only in One Table?"&lt;/P&gt;&lt;P&gt;,if(max(num_rows)&amp;lt;&amp;gt;min(num_rows),-1) as "Amount Different?"&lt;/P&gt;&lt;P&gt;RESIDENT Table&lt;/P&gt;&lt;P&gt;GROUP BY tabel_naam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 13:06:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-script/m-p/339659#M125382</guid>
      <dc:creator>schultem</dc:creator>
      <dc:date>2012-04-10T13:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Error in script</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-script/m-p/339660#M125383</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;Shouldn't it be "table_name" as the name of the field instead of tabel_naam? Or does it load fine if you comment the script that does not work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 14:04:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-script/m-p/339660#M125383</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-04-10T14:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: Error in script</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-script/m-p/339661#M125384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Well I finally found the solution. With this syntax:&lt;/P&gt;&lt;P&gt;SQL SELECT 'gabel' omgeving, a.owner owner , a.table_name tabel_naam, b.num_rows num_rows, b.last_analyzed last_analyzed&lt;/P&gt;&lt;P&gt;FROM &lt;A _jive_internal="true" href="https://community.qlik.com/mailto:all_tables@gabel"&gt;all_tables@gabel&lt;/A&gt; a&lt;/P&gt;&lt;P&gt;,&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A _jive_internal="true" href="https://community.qlik.com/mailto:dba_tab_statistics@gabel"&gt;dba_tab_statistics@gabel&lt;/A&gt; b&lt;/P&gt;&lt;P&gt;where a.owner not in ('SYSTEM', 'SYS') &lt;/P&gt;&lt;P&gt;and&amp;nbsp;&amp;nbsp;&amp;nbsp; a.table_name = b.table_name ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qlikview creates the column names in CAPITALS! So my code is now: &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;TABEL_NAAM&lt;/P&gt;&lt;P&gt;,if(count(TABEL_NAAM)&amp;lt;2,-1) as "Only in One Table?"&lt;/P&gt;&lt;P&gt;,if(max(NUM_ROWS)&amp;lt;&amp;gt;min(NUM_ROWS),-1) as "Amount Different?"&lt;/P&gt;&lt;P&gt;RESIDENT Table&lt;/P&gt;&lt;P&gt;GROUP BY TABEL_NAAM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did CTRL-T to show the table structure and there I saw the capitals. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2012 07:41:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-script/m-p/339661#M125384</guid>
      <dc:creator>schultem</dc:creator>
      <dc:date>2012-04-18T07:41:30Z</dc:date>
    </item>
  </channel>
</rss>

