Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3353

Re: SPLT FUNCTION IN HANA SQL

$
0
0

While I agree with Fernando that the whole approach here might not be the best, I like to point you to the SUBSTR_AFTER function, which allows you to look for the first occurrence of a search string (your <space>) and return what ever is right of this character.

 

Have that evaluated before your STRING_AGG and you should get the desired result.

 

- Lars


Viewing all articles
Browse latest Browse all 3353

Trending Articles



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