Quantcast
Channel: SCN: Message List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 8968

Re: Simulate common table expression in HANA SQL Script

$
0
0

Hi Hyun,

 

since CTEs can easily be expressed via subqueries that would be an approach you could follow.

The only thing you cannot easily do this way is recursive referencing of the the CTE by itself.

 

Typically this is done to deal with hierarchies or graph-like data structures.

If this is what you want to do (and what Jody already suspected), then SAP HANA hierarchy column views might be the right tool for you.

 

- Lars


Viewing all articles
Browse latest Browse all 8968

Trending Articles



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