Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Browsing all 9165 articles
Browse latest View live

Query design?

When using a SAP HANA DB, is there any differences of the query structure design, to take advantage of the performance gains? Is there any aspects that you should consider when designing new queries?

View Article


Re: Fill output parameter in a stored procedure

Hi Ben, Not sure how your output parameter is defined, but I assume it is a table type to store multiple records. Just wondering, why can't you use UNION ALL like AOut = SELECT NAME1 FROM usertable...

View Article


Re: Fill output parameter in a stored procedure

Hi Ravi, thanks a lot for the fast answer.Yes, the output parameter is a table type with just one field. You are right, using a UNION would be a solution, but I would like to know how to append records...

View Article

Re: Fill output parameter in a stored procedure

Hi Ben, I think the table type is just a structural definition and not a data bearing objects. You may have to use Global / Temporary table to store the data and append additional data and then assign...

View Article

Re: Error executing query

Hi Sudarshan, Although I did not try this myself, can you please try using CE_AGGREGATION instead of CE_PROJECTION for SQL_P. As the aggregation depends on the grouping, if you have a lower granularity...

View Article


Re: Query design?

Hi Dirk, The question is quite generic and may need additional information. Do you mean the queries to be written manually or some modeling best practices that would generate efficient queries. I am...

View Article

Re: Are there any limitations on concatenating string columns in Analytic Views?

Hi Ramesh, I don't think there should be an issue. I tried the same (on revision 52), that is, joining two varchar columns in Attrib View using + operator and it works fine for me. The calculated...

View Article

Re: Error while using Windows Function in SQL editor in SAP HANA

Hi Nikhil, Couple of points,any chances of you upgrading to the latest revision and try out.Can you run the same query without the row_number.I hope your columns are not defined in the lowercase and...

View Article


Re: SYS vs PUBLIC

Hi SS, Can you please post a screenshot for the PUBLIC schema. I think that is a ROLE and SYS is a schema. The screenshot will help understand what you mean. Regards, Ravi

View Article


Re: Split work in procedure to different threads

Hi Fernando, sorry for the delay.  Please find attached my current Cursor code. The problem is that the included Select took a lot of time. /*    * Loop over change ids and retrieve valid values for...

View Article

Re: SAP HANA ERP Rapid Deployment Solution for Operational Reporting

Hi Michael, can you please let me know if this is Resolved and if so how did you do it?   ThanksKalyan

View Article

Ignore where clauses when the value is space

Hi, I have a SQL Select on say a table A that has columns a1 a2 and a3. I am writing a stored procedure that would return a sum of a3 for a specific a1 and a2 values. So the query looks like this...

View Article

Re: Error while using Windows Function in SQL editor in SAP HANA

Hi Nikil, I copied the code one to one from http://help.sap.com/hana/html/_esql_functions_window.html and it works for me without any error. As mentioned earlier, I am on revision 52. I am not sure if...

View Article


Re: Ignore where clauses when the value is space

Hi Anusha, There are multiple ways to achieve this. You can use IF ELSE statement in your code and check the values for val1 and val2 and write separate SELECT statements accordingly.You can use...

View Article

Re: Ignore where clauses when the value is space

Hi there, I just got the same requirement and got a question about it...Since dynamic SQL should be avoided, I would like to solve this using a if statement. What I got looks like this:    IF lv_name...

View Article


Re: Are there any limitations on concatenating string columns in Analytic Views?

Hello Ravi, I had experimented with both of the above before posting this question and I mention one of them in my original post: "So I removed the column I used as a measure and introduced a measure...

View Article

Re: SAP HANA ERP Rapid Deployment Solution for Operational Reporting

SAP POS Data Management functionality was integrated directly with SAP® Business Intelligence (SAP® BI) software. As of the SAP POS DM 1.0 SP01 release, POS Inbound Processing Engine (PIPE) is shipped...

View Article


Re: Error while using Windows Function in SQL editor in SAP HANA

Ni Nikhil, not sure what's wrong here, but I just tested this on a rev. 49 and it worked fine: select version from m_database; -- VERSION-- 1.00.49.373159  createcolumntable t (class integer, val...

View Article

Re: SYS vs PUBLIC

The thing here is:PUBLIC is a special schema that can be used by all users and that is always part of the search strategy for identifiers without explicit schema. That way, any user can simply run e.g....

View Article

Re: jdbc information from ngdbc.jar

Hi joungim, if you want to find out what revision the SAP HANA server is running, you can simply check the m_database system view. To run different SQL based on the version of the used JDBC driver is...

View Article
Browsing all 9165 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>