<?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 to execute the oracle SQL file in talend in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-execute-the-oracle-SQL-file-in-talend/m-p/2267296#M46241</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;I have 7 sql files with different operations. Few has Select and few has Merge/Insert/update operations. In My SQL query, I am trying to connect it to two different databases. I have given all the required table access from one DB to another DB whereas the SQL is working on Oracle SQL developer.&lt;/P&gt; 
&lt;P&gt;I am quite new in using Talend.&amp;nbsp;Now, how I can refer the SQL file and execute the same in Talend. Inside the talend job where I can keep all the SQL files and how I can refer those?&lt;BR /&gt;After giving the connection to the DBs which component I have to use...&lt;BR /&gt;&lt;BR /&gt;I have few more Queries related to this :&lt;/P&gt; 
&lt;P&gt;1. I am trying to create the txt file from the SQL result with the Header and Footer. How I can have the loop for creating the header and footer. For all the files, the header and footer is different.&amp;nbsp;&lt;BR /&gt;2. In my SQL, how I can pass the last run time of the table dynamically. Based on the run time available or not in the table I have few condition in my query. Ex: I am using '&amp;amp;' in my SQL where it has to be replaced with the last run time of the table during the execution.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;3. In my SQL files, there is 2 sql files which is running on different tables with different condition. At the end I have to combine both the results and create the file with the same header and footer (sel_1_1, sel_1_2 ) . How I can achieve this ?&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;4. How I can have a loop to execute the SQL files in the mentioned order. My files are sel_1_1, sel_l_2, update_1_1, select_2_1,update_2_2,.....&lt;/P&gt;</description>
    <pubDate>Fri, 02 Aug 2019 08:39:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-08-02T08:39:53Z</dc:date>
    <item>
      <title>How to execute the oracle SQL file in talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-execute-the-oracle-SQL-file-in-talend/m-p/2267296#M46241</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;I have 7 sql files with different operations. Few has Select and few has Merge/Insert/update operations. In My SQL query, I am trying to connect it to two different databases. I have given all the required table access from one DB to another DB whereas the SQL is working on Oracle SQL developer.&lt;/P&gt; 
&lt;P&gt;I am quite new in using Talend.&amp;nbsp;Now, how I can refer the SQL file and execute the same in Talend. Inside the talend job where I can keep all the SQL files and how I can refer those?&lt;BR /&gt;After giving the connection to the DBs which component I have to use...&lt;BR /&gt;&lt;BR /&gt;I have few more Queries related to this :&lt;/P&gt; 
&lt;P&gt;1. I am trying to create the txt file from the SQL result with the Header and Footer. How I can have the loop for creating the header and footer. For all the files, the header and footer is different.&amp;nbsp;&lt;BR /&gt;2. In my SQL, how I can pass the last run time of the table dynamically. Based on the run time available or not in the table I have few condition in my query. Ex: I am using '&amp;amp;' in my SQL where it has to be replaced with the last run time of the table during the execution.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;3. In my SQL files, there is 2 sql files which is running on different tables with different condition. At the end I have to combine both the results and create the file with the same header and footer (sel_1_1, sel_1_2 ) . How I can achieve this ?&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;4. How I can have a loop to execute the SQL files in the mentioned order. My files are sel_1_1, sel_l_2, update_1_1, select_2_1,update_2_2,.....&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2019 08:39:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-execute-the-oracle-SQL-file-in-talend/m-p/2267296#M46241</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-02T08:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute the oracle SQL file in talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-execute-the-oracle-SQL-file-in-talend/m-p/2267297#M46242</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Please try to store the query from the input file in a global variable:&lt;/P&gt;
&lt;P&gt;tFileInputRaw --row1 (main)--&amp;gt; tFlowToIterate --iterate--&amp;gt; (your oracle query component here)&lt;/P&gt;
&lt;P&gt;The tFileInputRaw component will give you one output field which will contain the whole content of the file. In the SQL statement in your Oracle component, put something like ((String)globalMap.get('row1.content')).&lt;/P&gt;
&lt;P&gt;Let us know if it works.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 10:26:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-execute-the-oracle-SQL-file-in-talend/m-p/2267297#M46242</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-06T10:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute the oracle SQL file in talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-execute-the-oracle-SQL-file-in-talend/m-p/2267298#M46243</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have tried the same flow. I am using toracleinput component. In the sql component, my query is "((object)globlama.get("row1.content"))". I am getting the error Assignment operator expected after this token....In my sql file it is only the select statement...&lt;BR /&gt;If I have Merge, Update and insert altogether in my sql file which oracle component I have to use?I see that in tdbrow either we can select update/ insert.... but I have already have the query in the sql file, so in this case which component will be helpful.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2019 08:43:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-execute-the-oracle-SQL-file-in-talend/m-p/2267298#M46243</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-07T08:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute the oracle SQL file in talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-execute-the-oracle-SQL-file-in-talend/m-p/2267299#M46244</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; If you could share screenshots of your current job flow and component screenshot for problematic components, it will give us more idea about the issue.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2019 15:21:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-execute-the-oracle-SQL-file-in-talend/m-p/2267299#M46244</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-07T15:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute the oracle SQL file in talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-execute-the-oracle-SQL-file-in-talend/m-p/2267300#M46245</link>
      <description>Hi, 
&lt;BR /&gt;Due to some reason I can't able to share my screenshots... I just followed the same steps mentioned by 
&lt;A href="https://community.qlik.com/s/profile/00539000004XsaeAAC"&gt;@xdshi&lt;/A&gt;... The flow is tfileinputraw --row1(main) -- tflowtoiterate -- iterate ---tdboracleinput 
&lt;BR /&gt;In oracle input component I am getting the above mentioned error</description>
      <pubDate>Thu, 08 Aug 2019 10:51:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-execute-the-oracle-SQL-file-in-talend/m-p/2267300#M46245</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-08T10:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute the oracle SQL file in talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-execute-the-oracle-SQL-file-in-talend/m-p/2267301#M46246</link>
      <description>Can someone help me on the reported issue</description>
      <pubDate>Fri, 23 Aug 2019 07:24:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-execute-the-oracle-SQL-file-in-talend/m-p/2267301#M46246</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-23T07:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute the oracle SQL file in talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-execute-the-oracle-SQL-file-in-talend/m-p/2267302#M46247</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPRuAAO"&gt;@NewUser395&lt;/A&gt;&amp;nbsp;,only the select statements work in&amp;nbsp;&lt;SPAN&gt;tdboracleinput and he other queries you need to use&amp;nbsp;tdboraclerow.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2019 07:37:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-execute-the-oracle-SQL-file-in-talend/m-p/2267302#M46247</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2019-08-23T07:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute the oracle SQL file in talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-execute-the-oracle-SQL-file-in-talend/m-p/2267303#M46248</link>
      <description>&lt;P&gt;@Manohar B​&amp;nbsp;: can you please share the screenshot of basic and advanced settings for tDBinput or &amp;nbsp;tdboraclerow component?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 14:57:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-execute-the-oracle-SQL-file-in-talend/m-p/2267303#M46248</guid>
      <dc:creator>sushantk19</dc:creator>
      <dc:date>2022-07-05T14:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute the oracle SQL file in talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-execute-the-oracle-SQL-file-in-talend/m-p/2267304#M46249</link>
      <description>&lt;P&gt;Hello @&lt;A href="https://community.talend.com/s/profile/0053p000007LQvwAAG" alt="https://community.talend.com/s/profile/0053p000007LQvwAAG" target="_blank"&gt;sushantk19&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Here is a response from your another topic:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.talend.com/s/question/0D55b00007VVDgfCAH/reading-sql-file-in-talend" alt="https://community.talend.com/s/question/0D55b00007VVDgfCAH/reading-sql-file-in-talend" target="_blank"&gt;https://community.talend.com/s/question/0D55b00007VVDgfCAH/reading-sql-file-in-talend&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope it will be helpful for your case.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 07:56:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-execute-the-oracle-SQL-file-in-talend/m-p/2267304#M46249</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-07-06T07:56:28Z</dc:date>
    </item>
  </channel>
</rss>

