on 2022 Mar 31 2:09 PM
Hi guys,
is there a special syntax for creating a temp table? I have tried with local and global, everything works fine on HANA, but when I copy the query to SAP MII I get an error incorrect syntax. How should I use temp tables from MII?
Thanks!
Best regards,
Matic
Request clarification before answering.
Don't copy the query to MII! Make a view, function, or most likely a stored procedure in HANA instead. Then simply execute the SP from MII. It is a bad practice to take the SQL script from the database and move it to MII. Much better performance to keep the more complicated scripts executing in their native habitat (the database). Depending on the size of the script, it will be a lot easier to maintain in HANA as well.
Regards, Mike
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.