<?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: Oracle SQL complexity in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Oracle-SQL-complexity/m-p/2292822#M65859</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thanks for letting us know this issue is fixed by yourself and sharing your solution with us.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
    <pubDate>Mon, 21 Sep 2020 06:26:01 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-09-21T06:26:01Z</dc:date>
    <item>
      <title>Oracle SQL complexity</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Oracle-SQL-complexity/m-p/2292820#M65857</link>
      <description>&lt;P&gt;Hello,  &lt;/P&gt;&lt;P&gt;In talend ETL studio I have several connexions to an Oracle Database. It works correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For exemple : &lt;/P&gt;&lt;P&gt;"SELECT&amp;nbsp;PINT.PN,&amp;nbsp;SUBSTR(PID.LOCATION, 1,3) as LOCATION2, SUM(PID.QTY_AVAILABLE) as QUANTITY&lt;/P&gt;&lt;P&gt;FROM&amp;nbsp;PRODUCTION.PN_INTERCHANGEABLE PINT LEFT&amp;nbsp;JOIN PRODUCTION.PN_INVENTORY_DETAIL PID ON PINT.PN_INTERCHANGEABLE = PID.PN where PID.QTY_AVAILABLE &amp;gt; 0&amp;nbsp;&lt;/P&gt;&lt;P&gt;GROUP BY PINT.PN, SUBSTR(PID.LOCATION, 1,3) ORDER BY PINT.PN, SUBSTR(PID.LOCATION, 1,3)"&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;result is a file &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p000009TQDMAA4.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154914i797B100A03F8495D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p000009TQDMAA4.png" alt="0693p000009TQDMAA4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when I try to integrate such SQL request into a more complex SQL structure &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"WITH INTER1 AS ( SELECT&amp;nbsp;PINT.PN,&amp;nbsp;SUBSTR(PID.LOCATION, 1,3) as LOCATION2, SUM(PID.QTY_AVAILABLE) as QUANTITY&lt;/P&gt;&lt;P&gt;FROM&amp;nbsp;PRODUCTION.PN_INTERCHANGEABLE PINT LEFT&amp;nbsp;JOIN PRODUCTION.PN_INVENTORY_DETAIL PID ON PINT.PN_INTERCHANGEABLE = PID.PN where PID.QTY_AVAILABLE &amp;gt; 0&amp;nbsp;&lt;/P&gt;&lt;P&gt;GROUP BY PINT.PN, SUBSTR(PID.LOCATION, 1,3) ORDER BY PINT.PN, SUBSTR(PID.LOCATION, 1,3) )&lt;/P&gt;&lt;P&gt;Select * from INTER1 "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p000009TQE1AAO.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146023i7F08FCC7F58240C0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p000009TQE1AAO.png" alt="0693p000009TQE1AAO.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Same SQL request, same number of lines, Same columns, but the Quantity one (BigDecimal) always contain 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked several things ... but I can't find the solution. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Damien &lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:26:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Oracle-SQL-complexity/m-p/2292820#M65857</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T01:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle SQL complexity</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Oracle-SQL-complexity/m-p/2292821#M65858</link>
      <description>&lt;P&gt;SOLVED.&lt;/P&gt;&lt;P&gt;One of my collegues asked me to suppress the ORDER BY clause ... and it works !&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 08:39:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Oracle-SQL-complexity/m-p/2292821#M65858</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-17T08:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle SQL complexity</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Oracle-SQL-complexity/m-p/2292822#M65859</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thanks for letting us know this issue is fixed by yourself and sharing your solution with us.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 06:26:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Oracle-SQL-complexity/m-p/2292822#M65859</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-21T06:26:01Z</dc:date>
    </item>
  </channel>
</rss>

