<?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: oracle sequence and tMap in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/oracle-sequence-and-tMap/m-p/2375118#M137599</link>
    <description>So, retrieving the number of key you'll have to generate from your input (let's call it NbrRow), you should do a query as follow:
&lt;BR /&gt;Select sequence.nextval 
&lt;BR /&gt;from dual
&lt;BR /&gt;connect by level &amp;lt;= NbrRow
&lt;BR /&gt;it will retrieve "NbrRow" nextval values.
&lt;BR /&gt;Regards,
&lt;BR /&gt;André
&lt;BR /&gt;P.S. : connect by level hierachical instruction available from oracle 9 and higher, maybe 8 but not sure.</description>
    <pubDate>Fri, 19 Feb 2010 10:51:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-02-19T10:51:27Z</dc:date>
    <item>
      <title>oracle sequence and tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/oracle-sequence-and-tMap/m-p/2375115#M137596</link>
      <description>Hello, 
&lt;BR /&gt;i am trying to use an oracle sequence for my inserts.
&lt;BR /&gt;I take data from one table and i export the data in several tables. 
&lt;BR /&gt;I have seen a solution which consist in modifying a tOracleOutput but my problem is that i need to keep 2 of the ids in order to insert them in the other tables. 
&lt;BR /&gt;Is it possible to get 2 id (sequence.nextval) by putting them in entry of the Tmap before exploding the data ? 
&lt;BR /&gt;I have tryed to use a tOracleRow with an hand writed request but i think that it doesn't return anything</description>
      <pubDate>Sat, 16 Nov 2024 13:32:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/oracle-sequence-and-tMap/m-p/2375115#M137596</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T13:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: oracle sequence and tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/oracle-sequence-and-tMap/m-p/2375116#M137597</link>
      <description>Hi,
&lt;BR /&gt;Are you compelled to use your oracle sequence ?
&lt;BR /&gt;I've already faced this problem et I've solved it using a tRowGenerator generating number in sequence from X+1 to X+1+ tOracleInput.Rowcount, where X was read from a "log file" where I stored the last used number in my previous execution.
&lt;BR /&gt;Regards,
&lt;BR /&gt;André</description>
      <pubDate>Fri, 19 Feb 2010 10:24:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/oracle-sequence-and-tMap/m-p/2375116#M137597</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-19T10:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: oracle sequence and tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/oracle-sequence-and-tMap/m-p/2375117#M137598</link>
      <description>for now the use of the sequence is compelled yes. there is only one sequence generating ids for the whole application. I don't think they ll turn of the application during the import.</description>
      <pubDate>Fri, 19 Feb 2010 10:43:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/oracle-sequence-and-tMap/m-p/2375117#M137598</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2010-02-19T10:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: oracle sequence and tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/oracle-sequence-and-tMap/m-p/2375118#M137599</link>
      <description>So, retrieving the number of key you'll have to generate from your input (let's call it NbrRow), you should do a query as follow:
&lt;BR /&gt;Select sequence.nextval 
&lt;BR /&gt;from dual
&lt;BR /&gt;connect by level &amp;lt;= NbrRow
&lt;BR /&gt;it will retrieve "NbrRow" nextval values.
&lt;BR /&gt;Regards,
&lt;BR /&gt;André
&lt;BR /&gt;P.S. : connect by level hierachical instruction available from oracle 9 and higher, maybe 8 but not sure.</description>
      <pubDate>Fri, 19 Feb 2010 10:51:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/oracle-sequence-and-tMap/m-p/2375118#M137599</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-19T10:51:27Z</dc:date>
    </item>
  </channel>
</rss>

