<?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 single column in oracle in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Update-single-column-in-oracle/m-p/2280786#M55523</link>
    <description>Hi 
&lt;BR /&gt;For update, you have to set one column as a key on the schema of tOracleOutput, there should at least two columns on the schema. You just want to update a single column, you can use tOracleRow to execute a query. 
&lt;BR /&gt; "update our_table set col="+context.MYVAR 
&lt;BR /&gt; 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
    <pubDate>Thu, 21 Jun 2012 02:27:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-06-21T02:27:38Z</dc:date>
    <item>
      <title>Update single column in oracle</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-single-column-in-oracle/m-p/2280785#M55522</link>
      <description>We're trying to update a single column in a table, using a context variable. All rows in the table should be updated. The equivalent sql would be "update our_table set col="+context.MYVAR. 
&lt;BR /&gt;I can't make this work using tFixedFlowInput or directly from tJavaRow piped into an OracleOutput component. I am told the schemas do not match. 
&lt;BR /&gt;I have selected the "Field Options' in the output table and just selected the one column to update. I am either get the schemas error or a Select error. 
&lt;BR /&gt; 
&lt;BR /&gt;Any suggestions would be welcome.</description>
      <pubDate>Wed, 20 Jun 2012 19:07:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-single-column-in-oracle/m-p/2280785#M55522</guid>
      <dc:creator>eliotm</dc:creator>
      <dc:date>2012-06-20T19:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Update single column in oracle</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-single-column-in-oracle/m-p/2280786#M55523</link>
      <description>Hi 
&lt;BR /&gt;For update, you have to set one column as a key on the schema of tOracleOutput, there should at least two columns on the schema. You just want to update a single column, you can use tOracleRow to execute a query. 
&lt;BR /&gt; "update our_table set col="+context.MYVAR 
&lt;BR /&gt; 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 21 Jun 2012 02:27:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-single-column-in-oracle/m-p/2280786#M55523</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-21T02:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Update single column in oracle</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-single-column-in-oracle/m-p/2280787#M55524</link>
      <description>Hi, thank you. Yes, I can do this with straight sql but was exploring if/how I could use the GUI.
&lt;BR /&gt;I got this to work using your suggestion, but the execution is very slow, I think because it is doing the join. In this case, I just need to update all rows so a join wouldn't normally be needed.
&lt;BR /&gt;Is there a way I can do this using the tELT components? One possible problem -- are the context variable available in the ELT components, or is there a way I could pass them in?
&lt;BR /&gt;Thank you.</description>
      <pubDate>Thu, 21 Jun 2012 13:37:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-single-column-in-oracle/m-p/2280787#M55524</guid>
      <dc:creator>eliotm</dc:creator>
      <dc:date>2012-06-21T13:37:07Z</dc:date>
    </item>
  </channel>
</rss>

