<?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: Map foreign keys in a tMap component in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Map-foreign-keys-in-a-tMap-component/m-p/2343501#M111249</link>
    <description>&lt;P&gt;Hi, you have just to check the key checkbox in the schema for the column you want in the output, talend will handle it with your db.&lt;/P&gt;&lt;P&gt;Send me Love and Kudos&lt;/P&gt;</description>
    <pubDate>Tue, 18 May 2021 07:47:32 GMT</pubDate>
    <dc:creator>gjeremy1617088143</dc:creator>
    <dc:date>2021-05-18T07:47:32Z</dc:date>
    <item>
      <title>Map foreign keys in a tMap component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Map-foreign-keys-in-a-tMap-component/m-p/2343500#M111248</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm new to Talend Studio for Data Integration, and i would like to link entities using a tMap. Here my scenario:&lt;/P&gt;&lt;P&gt;I have a Table A and a Table B. Both of them have their Ids (no other field, let's keep it simple).&lt;/P&gt;&lt;P&gt;Then, using a tmap, i want to create a new table, that contains both of Table A and Table B's id. Let's call it Table C. It'll then look like this:&lt;/P&gt;&lt;P&gt;Table A&lt;/P&gt;&lt;P&gt;--------&lt;/P&gt;&lt;P&gt;id&lt;/P&gt;&lt;P&gt;--------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table B&lt;/P&gt;&lt;P&gt;--------&lt;/P&gt;&lt;P&gt;id&lt;/P&gt;&lt;P&gt;--------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table C&lt;/P&gt;&lt;P&gt;--------&lt;/P&gt;&lt;P&gt;id_a&lt;/P&gt;&lt;P&gt;id_b&lt;/P&gt;&lt;P&gt;--------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My problem is, the ids in my Table C are primary keys only, but i want them to be foreign keys as well. How can i achieve that ?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:08:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Map-foreign-keys-in-a-tMap-component/m-p/2343500#M111248</guid>
      <dc:creator>Amine5</dc:creator>
      <dc:date>2024-11-16T00:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: Map foreign keys in a tMap component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Map-foreign-keys-in-a-tMap-component/m-p/2343501#M111249</link>
      <description>&lt;P&gt;Hi, you have just to check the key checkbox in the schema for the column you want in the output, talend will handle it with your db.&lt;/P&gt;&lt;P&gt;Send me Love and Kudos&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 07:47:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Map-foreign-keys-in-a-tMap-component/m-p/2343501#M111249</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-05-18T07:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Map foreign keys in a tMap component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Map-foreign-keys-in-a-tMap-component/m-p/2343502#M111250</link>
      <description>&lt;P&gt;Hi, thanks for your answer.&lt;/P&gt;&lt;P&gt;I already did this, it's done automatically when i map the columns. But in my database the constraints are not set, the keys in Table C are just declared as primary keys, not as foreign keys, there is no real link between tables.&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 13:26:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Map-foreign-keys-in-a-tMap-component/m-p/2343502#M111250</guid>
      <dc:creator>Amine5</dc:creator>
      <dc:date>2021-05-18T13:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: Map foreign keys in a tMap component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Map-foreign-keys-in-a-tMap-component/m-p/2343503#M111251</link>
      <description>&lt;P&gt;you have to set constraints in your database, if you want to do it via talend you have to execute the sql script of constraints creation via tDBRow component after the creation of the table.&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 14:07:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Map-foreign-keys-in-a-tMap-component/m-p/2343503#M111251</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-05-18T14:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: Map foreign keys in a tMap component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Map-foreign-keys-in-a-tMap-component/m-p/2343504#M111252</link>
      <description>&lt;P&gt;Thank you very much !&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 14:14:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Map-foreign-keys-in-a-tMap-component/m-p/2343504#M111252</guid>
      <dc:creator>Amine5</dc:creator>
      <dc:date>2021-05-18T14:14:16Z</dc:date>
    </item>
  </channel>
</rss>

