<?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 Use teo different database connection in tdbrow? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-Use-teo-different-database-connection-in-tdbrow/m-p/2336511#M104946</link>
    <description>&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to load data from one (source) database to another (target)database using insert query in tdbrow. But I can select only one db connection in tdbrow. How to achieve this? It's giving the error table does not exist because I have selected the target db connection so it's failed to get data from source DB.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 22:00:47 GMT</pubDate>
    <dc:creator>Banupriya</dc:creator>
    <dc:date>2024-11-15T22:00:47Z</dc:date>
    <item>
      <title>How to Use teo different database connection in tdbrow?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-Use-teo-different-database-connection-in-tdbrow/m-p/2336511#M104946</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to load data from one (source) database to another (target)database using insert query in tdbrow. But I can select only one db connection in tdbrow. How to achieve this? It's giving the error table does not exist because I have selected the target db connection so it's failed to get data from source DB.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:00:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-Use-teo-different-database-connection-in-tdbrow/m-p/2336511#M104946</guid>
      <dc:creator>Banupriya</dc:creator>
      <dc:date>2024-11-15T22:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to Use teo different database connection in tdbrow?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-Use-teo-different-database-connection-in-tdbrow/m-p/2336512#M104947</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;You need to structure the job something like:&lt;/P&gt;&lt;P&gt;t&amp;lt;DB&amp;gt;Input -&amp;gt; tFlowToIterate -&amp;gt; tDBRow(Insert sql query for target DB)&lt;/P&gt;&lt;P&gt;And your tDBRow component will need to reference the globalMap variables created between the source DB and flow to iterate.&lt;/P&gt;&lt;P&gt;Or just t&amp;lt;DB&amp;gt;Input -&amp;gt;t&amp;lt;DB&amp;gt;output with key in schema setting efficiently.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2023 06:00:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-Use-teo-different-database-connection-in-tdbrow/m-p/2336512#M104947</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-10T06:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to Use teo different database connection in tdbrow?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-Use-teo-different-database-connection-in-tdbrow/m-p/2336513#M104948</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;Thank you for your reply. &lt;/P&gt;&lt;P&gt;We have set of tables to be loaded from source to target databse. It's not a simple data migration but the source and target database tables should be in sync on daily basis. So for some table we have to do insert or update as well. &lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;We have defined a dynamic schema in the tdbinput and fetched the select query dynamically for the source db and inserted the data to target db using tdboutput dynamic schema. &lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;Issue comes when we have to insert or update the data in tdboutput. ​It's required key columns for this operation. But due do dynamic schema we can not define key column dynamically. Also key column is different for different table. &lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;How to set the key columns dynamically in tdboutput? . &lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;We have tried with tdbrow and fetched the merge query dynamically to do this insert or update. But in tdbrow we can select one db at a time so it's not getting tables from source DB. &lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;Is there any other way to achieve this? ​&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;Please guide here. ​&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2023 06:24:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-Use-teo-different-database-connection-in-tdbrow/m-p/2336513#M104948</guid>
      <dc:creator>Banupriya</dc:creator>
      <dc:date>2023-03-10T06:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to Use teo different database connection in tdbrow?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-Use-teo-different-database-connection-in-tdbrow/m-p/2336514#M104949</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;It is not possible to select two DB connections at one time I'm afraid.&lt;/P&gt;&lt;P&gt;We are supposing you've checked talend CDC feature already as it captures only the changed source data and to move it from a source to a target system(s)&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.talend.com/r/Lfrx8uSM~Ud8zWd9BsWB5g/gX58Dkluk46wkIKe5GBxwg" alt="https://help.talend.com/r/Lfrx8uSM~Ud8zWd9BsWB5g/gX58Dkluk46wkIKe5GBxwg" target="_blank"&gt;TalendHelpCenter: Change Data Capture (CDC)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Note: CDC can not work on two different DBs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is no such automatic "Sync" process between two different Databases. &lt;/P&gt;&lt;P&gt;You have to compare tables to get the updated data then insert it to another DB by manual. &lt;/P&gt;&lt;P&gt;For example: &lt;/P&gt;&lt;P&gt;t&amp;lt;DB&amp;gt;input(targetDB)--&amp;gt;main--&amp;gt;tMap--&amp;gt;t&amp;lt;DB&amp;gt;output&lt;/P&gt;&lt;P&gt;t&amp;lt;DB&amp;gt;input(sourceDB)--&amp;gt;lookup--&amp;gt; &lt;/P&gt;&lt;P&gt;Make a inner join and set "Catch Look up inner join reject " as true and the processed data should be updated data, then insert it into another to keep the two database "Sync".&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2023 06:59:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-Use-teo-different-database-connection-in-tdbrow/m-p/2336514#M104949</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-10T06:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to Use teo different database connection in tdbrow?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-Use-teo-different-database-connection-in-tdbrow/m-p/2336515#M104950</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;​Thank you. &lt;/P&gt;&lt;P&gt;We can do the steps that you have recommended for only one table. But for multiple table as a genric solution how to achieve it? &lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;Could you please confirm is it possible to set the key columns dynamically in tdboutput which is having the dynamic schema for insert or update? ​&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2023 10:41:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-Use-teo-different-database-connection-in-tdbrow/m-p/2336515#M104950</guid>
      <dc:creator>Banupriya</dc:creator>
      <dc:date>2023-03-10T10:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to Use teo different database connection in tdbrow?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-Use-teo-different-database-connection-in-tdbrow/m-p/2336516#M104951</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have no idea about this kind of dynamic key columns.&lt;/P&gt;&lt;P&gt;Could you please indicate which talend solution are you using? Does talend Change Data Capture (CDC) functionality work for your use case?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2023 05:21:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-Use-teo-different-database-connection-in-tdbrow/m-p/2336516#M104951</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-13T05:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to Use teo different database connection in tdbrow?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-Use-teo-different-database-connection-in-tdbrow/m-p/2479310#M141223</link>
      <description>&lt;P&gt;Hi everyone,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Does Talend had an update and now we can used different connexion in one unique tDBRow please ?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you a lot in advance !&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;&lt;BR /&gt;Alexis&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2024 09:36:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-Use-teo-different-database-connection-in-tdbrow/m-p/2479310#M141223</guid>
      <dc:creator>AMale</dc:creator>
      <dc:date>2024-09-03T09:36:58Z</dc:date>
    </item>
  </channel>
</rss>

