<?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: Executing multiple sql files (Oracle) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Executing-multiple-sql-files-Oracle/m-p/2301357#M73482</link>
    <description>Hi,&lt;BR /&gt;Please take a look at a related forum:&lt;A href="https://www.talendforge.org/forum/viewtopic.php?id=10132" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.talendforge.org/forum/viewtopic.php?id=10132&lt;/A&gt;.&lt;BR /&gt;What does your sql script look like?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
    <pubDate>Wed, 24 Jun 2015 11:36:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-06-24T11:36:29Z</dc:date>
    <item>
      <title>Executing multiple sql files (Oracle)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Executing-multiple-sql-files-Oracle/m-p/2301356#M73481</link>
      <description>Hi all,&amp;nbsp; 
&lt;BR /&gt;I have multiple sql scripts in a local folder, and I'd like to run these scripts and based on these scripts create table, load data, add column, patch procedures/fucntions etc. 
&lt;BR /&gt;(I can't upload screenshot due to some reason though I am already registered here) 
&lt;BR /&gt;tOracleConnection_1 -&amp;gt; tFileList_1 -&amp;gt; tFileInputDelimited_1 -&amp;gt; tOracleRow_1 
&lt;BR /&gt;the problem is that I don't know how to get the sql statements from each file during iteration from tFileInputDelimited_1 component, and what to fill in Query parameter for TOracleRow_1. Perhaps, this can be done via contexts but I'm not sure how to do that either. 
&lt;BR /&gt;Any help? Thanks a lot&amp;nbsp; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Tue, 23 Jun 2015 10:08:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Executing-multiple-sql-files-Oracle/m-p/2301356#M73481</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2015-06-23T10:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: Executing multiple sql files (Oracle)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Executing-multiple-sql-files-Oracle/m-p/2301357#M73482</link>
      <description>Hi,&lt;BR /&gt;Please take a look at a related forum:&lt;A href="https://www.talendforge.org/forum/viewtopic.php?id=10132" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.talendforge.org/forum/viewtopic.php?id=10132&lt;/A&gt;.&lt;BR /&gt;What does your sql script look like?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Wed, 24 Jun 2015 11:36:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Executing-multiple-sql-files-Oracle/m-p/2301357#M73482</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-24T11:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: Executing multiple sql files (Oracle)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Executing-multiple-sql-files-Oracle/m-p/2301358#M73483</link>
      <description>How about the following layout.... 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009ME4I.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144650iCC3ECF20FD900B72/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009ME4I.png" alt="0683p000009ME4I.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Use a tFileInputRaw and output the contents as a String. Then connect the output to a tFlowToIterate. Then iterate the tOracleRow and use the globalMap variable associated with the content from the tFileInputRaw in your tOracleRow. In the case above it would be.... 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;PRE&gt;((String)globalMap.get("row1.content"))&lt;/PRE&gt;</description>
      <pubDate>Wed, 24 Jun 2015 11:56:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Executing-multiple-sql-files-Oracle/m-p/2301358#M73483</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-24T11:56:17Z</dc:date>
    </item>
  </channel>
</rss>

