on ‎2023 Dec 06 3:12 PM
I am trying to unpivot some data in SAP Datasphere. SAP SQL won't accept the UNPIVOT function, but native HANA does allow the SERIES_GENERATE_INTEGER. Even when I use a 3rd party DB Manager (DBeaver) and use SQL statement on Datasphere content, it works. However then applying that SQL in a SQL View to generate a new unpivotted view faiils with error
Mismatched ‹Number›, expecting ‹Identifier›
It's unclear if it's a different syntax Datasphere needs or simply SERIES_GENERATE_INTEGER is not in their library.
If the latter, how can I unpivot data in Datapshere without resorting to Python or going under the hood into a stored proceedure?
Many thanks
Request clarification before answering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.