Quantcast
Channel: SCN : Unanswered Discussions - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 4343

Oracle Function vs. HANA Table Function

$
0
0

Hi,

 

When migrate Oracle to Hana,we create some table functions to replace oracle's.But how can I get the same result in hana like in oracle.

 

--Oracle syntax,GetUserNames() is the function name.

SELECT

    MailID

    ,AuthorID

    ,ReceiverID

    ,GetUserNames(ReceiverID) Receiver

FROM

    AllMails

WHERE FetchTime is null

 

--HANA,create the same table function GetUserNames(),but it's can be only placed in from clause,How can I the get the same result as within an single SQL except call the function in another procedure.

 

Thanks.

 

Kelvin


Viewing all articles
Browse latest Browse all 4343

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>