on 2024 Jan 29 3:17 PM
I'm trying to use a WITH statement in SAP Datasphere SQL View. It's coming up with error of
"Mismatched WITH, expecting ‘(’, SELECT"
My script works outside SAP Datasphere, so it's some synatx difference I'm not spotting. The psuedo code I am using is..
My thanks in advance for any assistance
Request clarification before answering.
FYI, aswell as XaviPolo's alternative solution. For anyone using WITH and wanting to know issue, it was actually that the name of the WITH table and then in the SELECT were the same, normal SQL editor is OK with this, but in Datasphere it does not like the same name. I had to change to SQLScript, and change the SELECT so table is named different.
return
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 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 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.