Symptom
- A recursive query can be implemented as below in ORACLE, and it needs to be implemented in HANA database.
- WITH RECURSIVE test(n) AS (
SELECT 1
FROM DUMMY
UNION ALL
SELECT n + 1
FROM test
WHERE n < 10
)
SELECT n AS A FROM test;
- WITH RECURSIVE test(n) AS (
- The result of this query would be like below.
Images/data in this KBA from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Read more...
Environment
SAP HANA, Platform Edition 2.0
Product
SAP HANA, platform edition 2.0
Keywords
HANA, recursive, recursive query, recursive sql , KBA , HAN-DB-ENG , SAP HANA DB Engines , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview