<?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: convert Country name to Country code in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/convert-Country-name-to-Country-code/m-p/2224548#M17196</link>
    <description>Hi&lt;BR /&gt;You'd better create a referrence table which contains two columns.&lt;BR /&gt;One is the entire country name(e.g. United Kingdom). The other is abbreviation (e.g. UK).&lt;BR /&gt;Then do inner join in tMap with the access table and this referrence table.&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
    <pubDate>Tue, 10 Jul 2012 07:42:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-07-10T07:42:10Z</dc:date>
    <item>
      <title>convert Country name to Country code</title>
      <link>https://community.qlik.com/t5/Talend-Studio/convert-Country-name-to-Country-code/m-p/2224547#M17195</link>
      <description>Ver: 5.1.1
&lt;BR /&gt;Level : New
&lt;BR /&gt;hi, 
&lt;BR /&gt; I have a input Access table with field "Land" containing country name. eg. 
&lt;BR /&gt;----------------
&lt;BR /&gt;Land
&lt;BR /&gt;----------------
&lt;BR /&gt;France
&lt;BR /&gt;Germany
&lt;BR /&gt;United Kingdom
&lt;BR /&gt;..
&lt;BR /&gt;..
&lt;BR /&gt;..
&lt;BR /&gt;..
&lt;BR /&gt;---------------
&lt;BR /&gt;Now I would like to convert this to two letter international code in the new SQL database. So 
&lt;BR /&gt;---------------
&lt;BR /&gt;France --&amp;gt; FR 
&lt;BR /&gt;Germany --&amp;gt; DE 
&lt;BR /&gt; United Kingdom --&amp;gt; UK
&lt;BR /&gt;..
&lt;BR /&gt;..
&lt;BR /&gt;.. and so on.
&lt;BR /&gt;---------------
&lt;BR /&gt;I have the complete list for all countries.
&lt;BR /&gt;I see that I can do it in tMap express builder. But its a over kill to write conditional statement like if = val:then:else for all countries.
&lt;BR /&gt;
&lt;BR /&gt;Can any body suggest best way to handle this situation ?</description>
      <pubDate>Tue, 10 Jul 2012 07:24:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/convert-Country-name-to-Country-code/m-p/2224547#M17195</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-10T07:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: convert Country name to Country code</title>
      <link>https://community.qlik.com/t5/Talend-Studio/convert-Country-name-to-Country-code/m-p/2224548#M17196</link>
      <description>Hi&lt;BR /&gt;You'd better create a referrence table which contains two columns.&lt;BR /&gt;One is the entire country name(e.g. United Kingdom). The other is abbreviation (e.g. UK).&lt;BR /&gt;Then do inner join in tMap with the access table and this referrence table.&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Tue, 10 Jul 2012 07:42:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/convert-Country-name-to-Country-code/m-p/2224548#M17196</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-10T07:42:10Z</dc:date>
    </item>
  </channel>
</rss>

