We have a table in the HANA DB with two columns of following data types How to write sql script to extract the date value from the source column(De ...
We have a table in the HANA DB with two columns of following data types How to write sql script to extract the date value from the source column(De ...
How would I search multiple (in this example, say 2) columns for an array of values? For example, here is my table Documents : DocNumber and Compa ...
Because SAP HANA doesn't support CTEs, I'd like to learn to use table variables in joins. I've found simple examples of using table variables in a jo ...
There is a column that holds a json formatted value. Is it possible to turn it into a table as below? I found JSON_TABLE functions (from this do ...
how can we achieve REDUCE like the below logic inside an AMDP method. ...
I'm really at a loss why I can't get this recursive CTE to work in HANA. We're on HANA 2 so from what I understand it should be supported if I put it ...
I would like to calculate the open quantity per item via comparing the creation and issue date in SQL , if the issue date is less than creation date o ...
I would like to ask if anyone has any idea/ know how to use SAP HANA SQLScript in DBeaver. Since SAP HANA supports some very useful features such as t ...
I have a sqlscript inside an AMDP class. I get a dump on the following statement: The issue seems to be with converting separate idate and itime fi ...
I have the following simplified by many columns table. For each Person, I would like to find his Previous Cost Center and save it in the correspond ...
I am facing one interesting issue while reading from a calculation view through variables ... the code is as follows: I am getting column store err ...
I don't understand why an error occurs when using RECORD_COUNT (). Do you have a way to assign a record number value to an INT scalar variable? Here i ...
For our customers that use SAPB1 with HanaDB we execute the same query to pull data out (using the ADO.NET interface). Some have their regional system ...
How can I make it possible to return only the first parameter from a stored procedure with multiple OUT-parameters? Overview of Parameters ...
I have a table like below - I need to generate all possible combinations along with uniqueID for a set of unique values in COL1 shown as below - Fo ...
Is it possible to create a view and that view to contain table variables for example like this: ...
I have some stored procedures that create tables that we use for validation purposes. Most of these tables get dropped on the procedure next execution ...
Context: I am a long-time MSSQL developer... What I would like to know is how to implement a read-only-once select from SAP HANA. High-level pseudo-c ...
I have created a CV just like this "Former Member" on this blog https://blogs.sap.com/2017/05/18/factory-calendar-transpose-in-sap-hana-studio-step-by ...