<?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: Update Oracle table with Rownum in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Update-Oracle-table-with-Rownum/m-p/2221706#M15588</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;We can create sequence using tmap and update the records using this sequence. As the rownum will generate the unique id against the record fetched by the SQL query.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Hope this solves your problem.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regards&lt;/P&gt; 
&lt;P&gt;Ganshyam Patel&lt;/P&gt;</description>
    <pubDate>Fri, 30 Aug 2019 12:11:48 GMT</pubDate>
    <dc:creator>Ganshyam</dc:creator>
    <dc:date>2019-08-30T12:11:48Z</dc:date>
    <item>
      <title>Update Oracle table with Rownum</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-Oracle-table-with-Rownum/m-p/2221702#M15584</link>
      <description>&lt;P&gt;How to update oracle table with rownum. I am rownum as key to update a record.&amp;nbsp; But i am getting below error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Error message: ORA-00904: "rownum": invalid identifier.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:49:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-Oracle-table-with-Rownum/m-p/2221702#M15584</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T04:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Update Oracle table with Rownum</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-Oracle-table-with-Rownum/m-p/2221703#M15585</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LObaAAG"&gt;@senthilswing&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;can you post screenshots of your job?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2019 20:10:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-Oracle-table-with-Rownum/m-p/2221703#M15585</guid>
      <dc:creator>nivedhitha</dc:creator>
      <dc:date>2019-08-29T20:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: Update Oracle table with Rownum</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-Oracle-table-with-Rownum/m-p/2221704#M15586</link>
      <description>&lt;P&gt;This the select query in tOracleinput&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;select rownum,col1 from table&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Updating col1 with some value by using rownum as key in tOracleoutput. I am getting error.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2019 20:17:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-Oracle-table-with-Rownum/m-p/2221704#M15586</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-29T20:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: Update Oracle table with Rownum</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-Oracle-table-with-Rownum/m-p/2221705#M15587</link>
      <description>&lt;P&gt;rownum is a&amp;nbsp;&lt;SPAN&gt;pseudocolumn&amp;nbsp;which indicates the row number in oracle. I am using rownum as a key to update a column since my table doesn't&amp;nbsp;have any unique value.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Is it possible to use rownum in tOracleoutput. But we can update the logic in Sql developer editor.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2019 20:20:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-Oracle-table-with-Rownum/m-p/2221705#M15587</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-29T20:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: Update Oracle table with Rownum</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-Oracle-table-with-Rownum/m-p/2221706#M15588</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;We can create sequence using tmap and update the records using this sequence. As the rownum will generate the unique id against the record fetched by the SQL query.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Hope this solves your problem.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regards&lt;/P&gt; 
&lt;P&gt;Ganshyam Patel&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2019 12:11:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-Oracle-table-with-Rownum/m-p/2221706#M15588</guid>
      <dc:creator>Ganshyam</dc:creator>
      <dc:date>2019-08-30T12:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Update Oracle table with Rownum</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-Oracle-table-with-Rownum/m-p/2221707#M15589</link>
      <description>&lt;P&gt;As said before, "rownum" is not a sequence generated. It's a variable created "on the spot" to guide you to locate your data (kind of).&lt;/P&gt;
&lt;P&gt;You can use this variable to generate a sequence of your own, but it will reflect the SELECT statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So if you sort in different manner it will not match.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As suggested, if you have no way of having a primary key, you'll have to manage a sequence. You can index it, and it's then very easy to manage, update or insert thanks to triggers !&lt;/P&gt;
&lt;P&gt;Just put a trigger "BEFORE INSERT" (or AFTER) and add the id from the nextvalue of the sequence !&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2019 16:04:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-Oracle-table-with-Rownum/m-p/2221707#M15589</guid>
      <dc:creator>rmartin2</dc:creator>
      <dc:date>2019-08-30T16:04:18Z</dc:date>
    </item>
  </channel>
</rss>

