<?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: Lookup values from file to a db component in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Lookup-values-from-file-to-a-db-component/m-p/2375744#M138090</link>
    <description>&lt;P&gt;Thank u..this helps &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;​&lt;/P&gt;</description>
    <pubDate>Fri, 03 Dec 2021 20:48:22 GMT</pubDate>
    <dc:creator>j_</dc:creator>
    <dc:date>2021-12-03T20:48:22Z</dc:date>
    <item>
      <title>Lookup values from file to a db component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Lookup-values-from-file-to-a-db-component/m-p/2375742#M138088</link>
      <description>&lt;P&gt;Hi guys, &lt;/P&gt;&lt;P&gt;I have a file with 10 values..based on the different parameters i filter out the file to one value..now i have to pass th​e values to a db and create a flag...i dont have common id in file and database..its just based on the values from file i have create a if condition with database rows and create a flag ...&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;Eg.&lt;/P&gt;&lt;P&gt;My file has values &lt;/P&gt;&lt;P&gt;Row1 A&lt;/P&gt;&lt;P&gt;Row 2 B&lt;/P&gt;&lt;P&gt;row 3 C&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;Database &lt;/P&gt;&lt;P&gt;row 1 A&lt;/P&gt;&lt;P&gt;Row 2​ B&lt;/P&gt;&lt;P&gt;​Row 3 &lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;Now i have to create a condition&lt;/P&gt;&lt;P&gt;If  file.row1 equals to db.row1 or file.row2 equals db.row2 then flag equals Y&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;How to achieve this..&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:28:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Lookup-values-from-file-to-a-db-component/m-p/2375742#M138088</guid>
      <dc:creator>j_</dc:creator>
      <dc:date>2024-11-15T23:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup values from file to a db component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Lookup-values-from-file-to-a-db-component/m-p/2375743#M138089</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;Add a sequence id for each row after reading data from file and DB, the expression to generate a sequence id is:&lt;/P&gt;&lt;P&gt;Numeric.sequence("file",1,1)&lt;/P&gt;&lt;P&gt;and for DB is:&lt;/P&gt;&lt;P&gt;Numeric.sequence("DB",1,1)&lt;/P&gt;&lt;P&gt;and then ​do an inner join based on the sequence id on tMap&lt;/P&gt;&lt;P&gt;In the output table, add a new column let's call it flag, set its expression like:&lt;/P&gt;&lt;P&gt;row1.columnName.equals(row2.columnName)?"Y":"N"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 07:33:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Lookup-values-from-file-to-a-db-component/m-p/2375743#M138089</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-11-29T07:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup values from file to a db component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Lookup-values-from-file-to-a-db-component/m-p/2375744#M138090</link>
      <description>&lt;P&gt;Thank u..this helps &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;​&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2021 20:48:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Lookup-values-from-file-to-a-db-component/m-p/2375744#M138090</guid>
      <dc:creator>j_</dc:creator>
      <dc:date>2021-12-03T20:48:22Z</dc:date>
    </item>
  </channel>
</rss>

