<?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: select as with cases and like in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/select-as-with-cases-and-like/m-p/2227638#M19186</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;what is your question (problem) exactly?&lt;/P&gt;
&lt;P&gt;btw, at least one error there:&lt;/P&gt;
&lt;PRE&gt;select 
     XXXX,
     XXXX) as &lt;FONT color="#FF0000"&gt;product_code;&lt;/FONT&gt;
from product_reviews;&lt;/PRE&gt;
&lt;P&gt;you have wrong ; after as product_code&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cheers&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jun 2020 04:35:47 GMT</pubDate>
    <dc:creator>vapukov</dc:creator>
    <dc:date>2020-06-25T04:35:47Z</dc:date>
    <item>
      <title>select as with cases and like</title>
      <link>https://community.qlik.com/t5/Talend-Studio/select-as-with-cases-and-like/m-p/2227637#M19185</link>
      <description>&lt;P&gt;I need to implement the following PostgreSQL query by means of Talend:&lt;/P&gt;&lt;P&gt;select *, (case&lt;BR /&gt;when product_reviews.product not like '%[^0-9]%' then cast(product_reviews.product as varchar)&lt;BR /&gt;when product_reviews.product like '%@%' then cast((select product_details.product_code from product_details where lower(product_reviews.product) = lower(product_details.product_ID)) as varchar)&lt;BR /&gt;else cast((select product_details.product_code from product_details where lower(product_reviews.product) = lower(product_reviews.product_name)) as varchar)&lt;BR /&gt;end) as product_code;&lt;BR /&gt;from product_reviews;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:06:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/select-as-with-cases-and-like/m-p/2227637#M19185</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T02:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: select as with cases and like</title>
      <link>https://community.qlik.com/t5/Talend-Studio/select-as-with-cases-and-like/m-p/2227638#M19186</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;what is your question (problem) exactly?&lt;/P&gt;
&lt;P&gt;btw, at least one error there:&lt;/P&gt;
&lt;PRE&gt;select 
     XXXX,
     XXXX) as &lt;FONT color="#FF0000"&gt;product_code;&lt;/FONT&gt;
from product_reviews;&lt;/PRE&gt;
&lt;P&gt;you have wrong ; after as product_code&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cheers&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2020 04:35:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/select-as-with-cases-and-like/m-p/2227638#M19186</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2020-06-25T04:35:47Z</dc:date>
    </item>
  </channel>
</rss>

