<?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 I try to convert guid to an integer for a new database in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/I-try-to-convert-guid-to-an-integer-for-a-new-database/m-p/2281974#M56330</link>
    <description>Hello, &lt;BR /&gt;For my migration of two CRM i need to convert many GUID into integer id ... &lt;BR /&gt;How can I do that with a tmap ?&lt;BR /&gt;Thank you i'm looking for a while !</description>
    <pubDate>Tue, 25 Feb 2014 14:04:26 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-02-25T14:04:26Z</dc:date>
    <item>
      <title>I try to convert guid to an integer for a new database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/I-try-to-convert-guid-to-an-integer-for-a-new-database/m-p/2281974#M56330</link>
      <description>Hello, &lt;BR /&gt;For my migration of two CRM i need to convert many GUID into integer id ... &lt;BR /&gt;How can I do that with a tmap ?&lt;BR /&gt;Thank you i'm looking for a while !</description>
      <pubDate>Tue, 25 Feb 2014 14:04:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/I-try-to-convert-guid-to-an-integer-for-a-new-database/m-p/2281974#M56330</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-25T14:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: I try to convert guid to an integer for a new database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/I-try-to-convert-guid-to-an-integer-for-a-new-database/m-p/2281975#M56331</link>
      <description>It depends what you want. You could use the hashCode() method to build an integer from the String guid. 
&lt;BR /&gt;use as expression 
&lt;BR /&gt;row1.GUID.hashCode() 
&lt;BR /&gt;But please keep in mind an hashCode is not fully unique. If your GUID string has always nearly the same length it is very likely unique but if the guid has wide spread length, this will not work for a huge number of values.</description>
      <pubDate>Tue, 25 Feb 2014 22:01:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/I-try-to-convert-guid-to-an-integer-for-a-new-database/m-p/2281975#M56331</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-25T22:01:06Z</dc:date>
    </item>
  </channel>
</rss>

