Page 1 of 1

SAP HANA SQL Dates Aggregation

Veeam LogoPosted: Mon Aug 14, 2017 6:28 am
by soujanya23.
I've an trouble with a query i've written for sap hana.

There is basically tables.

First table is a dates desk which incorporates dates for every unmarried day in a calendar. 2nd desk is a consequences table containing a customer reference range and for each consumer reference range a start date and give up date. on this client ref table, i have approximately four million statistics. So essentially within the internal part of the query i'd be getting 4 million records for each day seeing that 01012011. There need to be a simple manner SAP HANA Admin of aggregating the consequences. i have attempted an internal pick out query but it looks as if hana is having performance issues.

i have written the code like this, however this is not most useful.