on 12-17-2018 8:08 AM
Is it possiible to split a comma separated string in Hana into rows without using a user defined function.
Something like this from oracle :
SELECT DISTINCT REGEXP_SUBSTR ('23,34,45,56','[^,]+',1,LEVEL) as "token"
FROM DUAL
CONNECT BY REGEXP_SUBSTR ('23,34,45,56','[^,]+',1,LEVEL) IS NOT NULL
order by 1
From my knowledge there is no built-in function for maintaining split of string.
Here you have similair threads:
https://archive.sap.com/discussions/thread/3482620
https://archive.sap.com/discussions/message/16631483#16631483
https://stackoverflow.com/questions/27709088/hana-split-string
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.