<?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: Incorrect ; placement #SAPHANA #SQLSCRIPT in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/incorrect-placement-saphana-sqlscript/qaa-p/674917#M177759</link>
    <description>&lt;P&gt;Florian, it is saying incorrect ';' placement. i tried removing it but still it is not working. Please check the screenshots i attached in my question.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;can we use end as and end in the table fucntion?? i used the same code to check in SQL console and it worked fine i think i need to change so syntax in table fucntion.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;Thank in advance.&lt;/P&gt;
  &lt;P&gt;Venkatesh&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Sep 2018 06:59:37 GMT</pubDate>
    <dc:creator>venkatesh_veera2</dc:creator>
    <dc:date>2018-09-10T06:59:37Z</dc:date>
    <item>
      <title>Incorrect ; placement #SAPHANA #SQLSCRIPT</title>
      <link>https://community.sap.com/t5/technology-q-a/incorrect-placement-saphana-sqlscript/qaq-p/674915</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
  &lt;P&gt;I'm trying to create a table function in sap Hana.&lt;/P&gt;
  &lt;P&gt;the requirement is like I need to add an extra column and the condition is when the department name is 'IT' it needs to write Information technology in the new column etc.&lt;/P&gt;
  &lt;P&gt;I wrote the same code in SQL console it worked fine but in the table function its throwing error.&lt;/P&gt;
  &lt;P&gt;SQL Console:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/212428-console.png" /&gt;&lt;/P&gt;
  &lt;P&gt;Table Function:I tried removing; after from but it did not work. &lt;/P&gt;
  &lt;P&gt;Please let me know where am I doing a mistake. I know its easy for many people but I just started learning.&lt;/P&gt;
  &lt;P&gt;Thank in advance.&lt;/P&gt;
  &lt;P&gt;Venkatesh&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Sep 2018 14:21:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/incorrect-placement-saphana-sqlscript/qaq-p/674915</guid>
      <dc:creator>venkatesh_veera2</dc:creator>
      <dc:date>2018-09-09T14:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect ; placement #SAPHANA #SQLSCRIPT</title>
      <link>https://community.sap.com/t5/technology-q-a/incorrect-placement-saphana-sqlscript/qaa-p/674916#M177758</link>
      <description>&lt;P&gt;What is the error message you are getting?&lt;/P&gt;</description>
      <pubDate>Sun, 09 Sep 2018 17:33:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/incorrect-placement-saphana-sqlscript/qaa-p/674916#M177758</guid>
      <dc:creator>pfefferf</dc:creator>
      <dc:date>2018-09-09T17:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect ; placement #SAPHANA #SQLSCRIPT</title>
      <link>https://community.sap.com/t5/technology-q-a/incorrect-placement-saphana-sqlscript/qaa-p/674917#M177759</link>
      <description>&lt;P&gt;Florian, it is saying incorrect ';' placement. i tried removing it but still it is not working. Please check the screenshots i attached in my question.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;can we use end as and end in the table fucntion?? i used the same code to check in SQL console and it worked fine i think i need to change so syntax in table fucntion.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;Thank in advance.&lt;/P&gt;
  &lt;P&gt;Venkatesh&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Sep 2018 06:59:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/incorrect-placement-saphana-sqlscript/qaa-p/674917#M177759</guid>
      <dc:creator>venkatesh_veera2</dc:creator>
      <dc:date>2018-09-10T06:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect ; placement #SAPHANA #SQLSCRIPT</title>
      <link>https://community.sap.com/t5/technology-q-a/incorrect-placement-saphana-sqlscript/qaa-p/674918#M177760</link>
      <description>&lt;P&gt;Hm, in general it should work, and I see also no issue in your coding.&lt;/P&gt;
  &lt;P&gt;What HANA release you are using?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Sep 2018 10:31:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/incorrect-placement-saphana-sqlscript/qaa-p/674918#M177760</guid>
      <dc:creator>pfefferf</dc:creator>
      <dc:date>2018-09-10T10:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect ; placement #SAPHANA #SQLSCRIPT</title>
      <link>https://community.sap.com/t5/technology-q-a/incorrect-placement-saphana-sqlscript/qaa-p/674919#M177761</link>
      <description>&lt;P&gt;please paste the entire table function code&lt;/P&gt;</description>
      <pubDate>Mon, 10 Sep 2018 13:15:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/incorrect-placement-saphana-sqlscript/qaa-p/674919#M177761</guid>
      <dc:creator>SergioG_TX</dc:creator>
      <dc:date>2018-09-10T13:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect ; placement #SAPHANA #SQLSCRIPT</title>
      <link>https://community.sap.com/t5/technology-q-a/incorrect-placement-saphana-sqlscript/qaa-p/674920#M177762</link>
      <description>&lt;P&gt;Hi Sergio,&lt;/P&gt;
  &lt;P&gt;i attached a screenshot with name table function. Can you please check it.&lt;/P&gt;
  &lt;P&gt;Thank you.&lt;/P&gt;
  &lt;P&gt;Venkatesh&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 13:56:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/incorrect-placement-saphana-sqlscript/qaa-p/674920#M177762</guid>
      <dc:creator>venkatesh_veera2</dc:creator>
      <dc:date>2018-09-19T13:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect ; placement #SAPHANA #SQLSCRIPT</title>
      <link>https://community.sap.com/t5/technology-q-a/incorrect-placement-saphana-sqlscript/qaa-p/674921#M177763</link>
      <description>&lt;P&gt;the code looks ok - have you tried a simple select statement to make sure you can activate the TF? if that works, then re-add your select statement. does you SAP HANA version supports the TF? &lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 16:32:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/incorrect-placement-saphana-sqlscript/qaa-p/674921#M177763</guid>
      <dc:creator>SergioG_TX</dc:creator>
      <dc:date>2018-09-19T16:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect ; placement #SAPHANA #SQLSCRIPT</title>
      <link>https://community.sap.com/t5/technology-q-a/incorrect-placement-saphana-sqlscript/qaa-p/674922#M177764</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;See if there is a data type mismatch between return table declaration. &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deo&lt;/P&gt;</description>
      <pubDate>Mon, 22 Oct 2018 11:22:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/incorrect-placement-saphana-sqlscript/qaa-p/674922#M177764</guid>
      <dc:creator>deodutt_dwivedi</dc:creator>
      <dc:date>2018-10-22T11:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect ; placement #SAPHANA #SQLSCRIPT</title>
      <link>https://community.sap.com/t5/technology-q-a/incorrect-placement-saphana-sqlscript/qaa-p/674923#M177765</link>
      <description>&lt;P&gt;write case statement in closing brackets ,&lt;/P&gt;&lt;P&gt;(CASE WHEN "DEPTNAME"='IT' THEN 'INFORMATION TECHNOLOGY'
WHEN "DEPTNAME"='HR' THEN 'HUMAN RESOURCE'
ELSE 'ADMINISTRATION' END) DEPTDESC&lt;/P&gt;&lt;P&gt;FROM "SCHEMA_NAME"."TABLE_NAME";&lt;/P&gt;&lt;P&gt;END;&lt;/P&gt;</description>
      <pubDate>Sun, 05 May 2019 12:44:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/incorrect-placement-saphana-sqlscript/qaa-p/674923#M177765</guid>
      <dc:creator>former_member607745</dc:creator>
      <dc:date>2019-05-05T12:44:46Z</dc:date>
    </item>
  </channel>
</rss>

