<?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 to select data from multiple tables? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-select-data-from-multiple-tables/m-p/2241246#M28464</link>
    <description>Please find the screen shot for the job with tORacleRow.</description>
    <pubDate>Thu, 07 Jun 2012 12:23:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-06-07T12:23:35Z</dc:date>
    <item>
      <title>How to select data from multiple tables?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-select-data-from-multiple-tables/m-p/2241242#M28460</link>
      <description>Hi, 
&lt;BR /&gt;I have the following script :- 
&lt;BR /&gt;SET HEADING OFF 
&lt;BR /&gt;SET PAGESIZE 50000 
&lt;BR /&gt;SET LINESIZE 1200 
&lt;BR /&gt;SET COLSEP '|' 
&lt;BR /&gt;SET FEEDBACK OFF 
&lt;BR /&gt;COLUMN Channel_Name FORMAT A20 TRUNC 
&lt;BR /&gt;COLUMN Headline FORMAT A255 TRUNC 
&lt;BR /&gt;COLUMN Page_Title FORMAT A255 TRUNC 
&lt;BR /&gt;COLUMN Video_ID FORMAT 9999999999999 
&lt;BR /&gt;SPOOL dw_art_upd.csv 
&lt;BR /&gt;SELECT av.article_id AS Article_Id, 
&lt;BR /&gt; ch.display_name AS Channel_Name, 
&lt;BR /&gt; av.article_version_id AS Article_Version, 
&lt;BR /&gt; av.first_pub_date AS Published_Date, 
&lt;BR /&gt; av.created_date AS Created_Date, 
&lt;BR /&gt; av.headline AS Headline, 
&lt;BR /&gt; av.page_title AS Page_Title, 
&lt;BR /&gt; vc.external_video_id AS Video_ID 
&lt;BR /&gt; FROM channels ch, 
&lt;BR /&gt; video_config vc RIGHT OUTER JOIN articles_versions av 
&lt;BR /&gt; ON vc.video_config_id = TO_NUMBER(RTRIM(SUBSTR(av.article_text,DECODE(INSTR(av.article_text,'item name=video id='),0,NULL,INSTR(av.article_text,'item name=video id='))+19,6))) 
&lt;BR /&gt;WHERE av.published_flag='Y' 
&lt;BR /&gt; AND av.modified_date &amp;gt; TRUNC(sysdate) 
&lt;BR /&gt; AND av.article_id IN (SELECT article_id 
&lt;BR /&gt; FROM articles 
&lt;BR /&gt; WHERE created_date &amp;gt;= TO_DATE('01-SEP-11 00:00:01','DD-MON-YY HH24:MI 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9p6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134116iFBD5D7F21624A744/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9p6.png" alt="0683p000009M9p6.png" /&gt;&lt;/span&gt;S')) 
&lt;BR /&gt; AND ch.channel_id = av.channel_id 
&lt;BR /&gt; 
&lt;BR /&gt;which needs to be scheduled as a job and the job should be running every day to fetch the data. 
&lt;BR /&gt;Since the query is bit complex am not sure if its possible to run this as a job from Talend Open Studio? 
&lt;BR /&gt;Can anyone please suggest me on how to go about this? 
&lt;BR /&gt; 
&lt;BR /&gt;Many Thanks, 
&lt;BR /&gt;Manju</description>
      <pubDate>Wed, 06 Jun 2012 16:09:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-select-data-from-multiple-tables/m-p/2241242#M28460</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-06T16:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to select data from multiple tables?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-select-data-from-multiple-tables/m-p/2241243#M28461</link>
      <description>Hi Manju,&lt;BR /&gt;You could paste the SELECT statement into t&amp;lt;db&amp;gt;Input, and send the result to a tFileOutputDelimited with | as the delimiter.&lt;BR /&gt;IIRC, you will  have to manually enter the metadata for the t&amp;lt;db&amp;gt;Input fields.&lt;BR /&gt;Or, you could just try to execute the whole thing via a t&amp;lt;db&amp;gt;Row component.  Not sure if that will handle the beginning part of the script.&lt;BR /&gt;Thanks,&lt;BR /&gt;Ben&lt;BR /&gt;Thanks,&lt;BR /&gt;Ben</description>
      <pubDate>Wed, 06 Jun 2012 21:09:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-select-data-from-multiple-tables/m-p/2241243#M28461</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-06T21:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to select data from multiple tables?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-select-data-from-multiple-tables/m-p/2241244#M28462</link>
      <description>Many Thanks Ben, let me try  this out and will let you know how it went.</description>
      <pubDate>Thu, 07 Jun 2012 09:40:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-select-data-from-multiple-tables/m-p/2241244#M28462</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-07T09:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to select data from multiple tables?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-select-data-from-multiple-tables/m-p/2241245#M28463</link>
      <description>Hi,&lt;BR /&gt;I tried using tOracleInput , but not sure which table to choose as the query involves 3 tables connected by outer join.&lt;BR /&gt;Attached the screen shot . Please advise me on this.&lt;BR /&gt;Thanks,&lt;BR /&gt;Manju</description>
      <pubDate>Thu, 07 Jun 2012 10:29:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-select-data-from-multiple-tables/m-p/2241245#M28463</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-07T10:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to select data from multiple tables?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-select-data-from-multiple-tables/m-p/2241246#M28464</link>
      <description>Please find the screen shot for the job with tORacleRow.</description>
      <pubDate>Thu, 07 Jun 2012 12:23:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-select-data-from-multiple-tables/m-p/2241246#M28464</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-07T12:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to select data from multiple tables?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-select-data-from-multiple-tables/m-p/2241247#M28465</link>
      <description>Can anyone please help assist with this question??
&lt;BR /&gt;My team and I are facing the same problem and Talend doesn't seem to have an efficient way of handling this very simple task.</description>
      <pubDate>Mon, 19 Aug 2013 19:49:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-select-data-from-multiple-tables/m-p/2241247#M28465</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-08-19T19:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to select data from multiple tables?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-select-data-from-multiple-tables/m-p/2241248#M28466</link>
      <description>What does the error say when you hover the mouse over the 'x' by the input?
&lt;BR /&gt;As for specifying the schema when you have multiple joins, what worked for me was clicking guess schema and seeing if that worked. If not I manually edited the schema with the required columns. 
&lt;BR /&gt;Also make sure the whole query is in quotes.</description>
      <pubDate>Tue, 20 Aug 2013 01:35:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-select-data-from-multiple-tables/m-p/2241248#M28466</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-20T01:35:48Z</dc:date>
    </item>
  </channel>
</rss>

