<?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>Question Re: Recursive SQL in SAP Hana in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/recursive-sql-in-sap-hana/qaa-p/314087#M831</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;SAP HANA supports CTE but not recursive SQL (no DECODE too).&lt;/P&gt;&lt;P&gt;The only way to do this is via SQL Script table variables (if restricted/defined in levels) procedural (Looping if indefinite levels or complex nesting rendering difficult maintenance in the future) or via separate Wrapper &amp;amp; Executor procedures.&lt;/P&gt;&lt;P&gt;Refer &lt;A href="https://archive.sap.com/discussions/thread/3384059" target="test_blank"&gt;https://archive.sap.com/discussions/thread/3384059&lt;/A&gt; for more information.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kapil&lt;/P&gt;</description>
    <pubDate>Thu, 01 Dec 2016 16:13:35 GMT</pubDate>
    <dc:creator>kapil_tilwani</dc:creator>
    <dc:date>2016-12-01T16:13:35Z</dc:date>
    <item>
      <title>Recursive SQL in SAP Hana</title>
      <link>https://community.sap.com/t5/technology-q-a/recursive-sql-in-sap-hana/qaq-p/314086</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;it is possible execute a recursive SQL command? CTE or something else?&lt;/P&gt;&lt;P&gt;I want to calculate multiple columns, each based on the previous column...&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2016 09:53:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/recursive-sql-in-sap-hana/qaq-p/314086</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-12-01T09:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: Recursive SQL in SAP Hana</title>
      <link>https://community.sap.com/t5/technology-q-a/recursive-sql-in-sap-hana/qaa-p/314087#M831</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;SAP HANA supports CTE but not recursive SQL (no DECODE too).&lt;/P&gt;&lt;P&gt;The only way to do this is via SQL Script table variables (if restricted/defined in levels) procedural (Looping if indefinite levels or complex nesting rendering difficult maintenance in the future) or via separate Wrapper &amp;amp; Executor procedures.&lt;/P&gt;&lt;P&gt;Refer &lt;A href="https://archive.sap.com/discussions/thread/3384059" target="test_blank"&gt;https://archive.sap.com/discussions/thread/3384059&lt;/A&gt; for more information.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kapil&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2016 16:13:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/recursive-sql-in-sap-hana/qaa-p/314087#M831</guid>
      <dc:creator>kapil_tilwani</dc:creator>
      <dc:date>2016-12-01T16:13:35Z</dc:date>
    </item>
  </channel>
</rss>

