看了很多博客都说oracle的 start with connect by 语句在HANA中也适用,可是我在hana studio 里面执行start with 语句报错了,提示: incorrect syntax near "START"。这有解决办法吗?
以下是原sql:
SELECT
SYS_CONNECT_BY_PATH(NAME,'|')
FROM
NC65.BD_CUSTCLASS
WHERE
PK_CUSTCLASS =CS.PK_CUSTCLASS START WITH PARENT_ID='~' CONNECT BY PRIOR PK_CUSTCLASS = PARENT_ID