<?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 How do you add more than 1 table in the script editor ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-you-add-more-than-1-table-in-the-script-editor/m-p/244263#M707395</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's always better to select a column list instead of star (*). Then you also can use a column alias:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT PSAR15 as PGMJ35 ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.. or vice versa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Nov 2011 16:56:30 GMT</pubDate>
    <dc:creator>rbecher</dc:creator>
    <dc:date>2011-11-21T16:56:30Z</dc:date>
    <item>
      <title>How do you add more than 1 table in the script editor ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-you-add-more-than-1-table-in-the-script-editor/m-p/244259#M707390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Example i have this SQL statement which i use to grab my data (and join 4 tables): SQL SELECT * FROM RAMBATHS.AULT2F2.ORDLNORD,RAMBATHS.AULT2F2.PARTS,RAMBATHS.AULT2F2.ORDHDORD,RAMBATHS.AULT2F2.OEP20 where cono40=cono55 and ordn40=ordn55 and cono55=cono35 and catn55=pnum35 and cono55='01' and cono40=cono20 and cusn40=cusn20 and dseq40=dseq20 and Stat55=' ' which is grabbing 4 tables. I need to grab about 30 tables. Or 10 at the least. How in the script editor do you definite more than 1 table when grabbing from an ODBC data source ? Ta Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2011 15:58:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-you-add-more-than-1-table-in-the-script-editor/m-p/244259#M707390</guid>
      <dc:creator />
      <dc:date>2011-11-21T15:58:07Z</dc:date>
    </item>
    <item>
      <title>How do you add more than 1 table in the script editor ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-you-add-more-than-1-table-in-the-script-editor/m-p/244260#M707392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you have to specify the table name before the SQL SELECT in the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mytable1:&lt;/P&gt;&lt;P&gt;SQL SELECT..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mytable2:&lt;/P&gt;&lt;P&gt;SQL SELECT..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2011 16:03:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-you-add-more-than-1-table-in-the-script-editor/m-p/244260#M707392</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2011-11-21T16:03:02Z</dc:date>
    </item>
    <item>
      <title>How do you add more than 1 table in the script editor ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-you-add-more-than-1-table-in-the-script-editor/m-p/244261#M707393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Excellent thank you Ralf &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; looks like i need to get myself some SQL reading material &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, 21 Nov 2011 16:19:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-you-add-more-than-1-table-in-the-script-editor/m-p/244261#M707393</guid>
      <dc:creator />
      <dc:date>2011-11-21T16:19:18Z</dc:date>
    </item>
    <item>
      <title>How do you add more than 1 table in the script editor ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-you-add-more-than-1-table-in-the-script-editor/m-p/244262#M707394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Ralf if it doesn't automatically pick up the join how do i make it join ?&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT * FROM RAMBATHS.AULT2F2.ORDLNORD,RAMBATHS.AULT2F2.PARTS,RAMBATHS.AULT2F2.ORDHDORD,RAMBATHS.AULT2F2.OEP20&lt;BR /&gt;where cono40=cono55 and ordn40=ordn55 and cono55=cono35 and catn55=pnum35 and cono55='01' and cono40=cono20 and cusn40=cusn20 and dseq40=dseq20 and Stat55=' '&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;Warehouse:&lt;BR /&gt;SQL select * from rambaths.AULT2F2.WHP35&lt;/P&gt;&lt;P&gt;;&lt;BR /&gt;Description:&lt;BR /&gt;SQL select * from rambaths.aulsprx3.pgmj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thats the select statements i have, but the file pgmj from the descriptions table has a field called PSAR15 which matches with PGMJ35 from the file PARTS. Because the fields arent the same name Qlikview didnt manage to match them so the file is orphaned. How do i match it ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2011 16:51:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-you-add-more-than-1-table-in-the-script-editor/m-p/244262#M707394</guid>
      <dc:creator />
      <dc:date>2011-11-21T16:51:12Z</dc:date>
    </item>
    <item>
      <title>How do you add more than 1 table in the script editor ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-you-add-more-than-1-table-in-the-script-editor/m-p/244263#M707395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's always better to select a column list instead of star (*). Then you also can use a column alias:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT PSAR15 as PGMJ35 ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.. or vice versa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2011 16:56:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-you-add-more-than-1-table-in-the-script-editor/m-p/244263#M707395</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2011-11-21T16:56:30Z</dc:date>
    </item>
    <item>
      <title>How do you add more than 1 table in the script editor ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-you-add-more-than-1-table-in-the-script-editor/m-p/244264#M707396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Perfect. Thanks Ralf. I do have 1 last question but i'll slap it in another post &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2011 09:02:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-you-add-more-than-1-table-in-the-script-editor/m-p/244264#M707396</guid>
      <dc:creator />
      <dc:date>2011-11-22T09:02:15Z</dc:date>
    </item>
  </channel>
</rss>

