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

Re: faster alternative to where clause in SQL

Thanks Ravi

View Article


How to operate table variables when calling sqlscript procedures using jdbc...

Let's assume that we got a procedure defined : Create Procedure my_proc(     v_scalar_int int,     v_table_var_in tt_in,     OUT v_table_var_out tt_out ) AS BEGIN -- bla bla bla... END where "tt_in"...

View Article


Re: faster alternative to where clause in SQL

That was the idea given by a consultant from SAP , that placeholders/input param push the filters deep into the data base unlike where clause .  My objective is to left outer join two massive fact...

View Article

Re: faster alternative to where clause in SQL

Hi Rishi, one thought, Did you try creating a Calc view with the join of analytic views AN_FACT and AN_FACT1 using Input parameter xyear. In the procedure you can fire a select against the Calc view...

View Article

Re: faster alternative to where clause in SQL

Ravi , I tried union with constants ,   TABLE A has DIM1, DIM2, DIM3, MEA1, MEA2 AND  TABLE B HAS DIM4, DIM5, DIM6, MEA3, MEA4 but I could not manage to get DIM`1, DIM2, DIM5, MEA1, MEA2, MEA4 into 1...

View Article


Re: faster alternative to where clause in SQL

Hi Rishi, If you want them to be in a single line, then you have to go for the join. Just that try the join in the Calc view rather than in the procedure. Regards, Ravi

View Article

How to aggregate in Calculation View, but still output detail field

The scenario is this: We are joining several data sets and one has a many:many relationship. To resolve this, we will look for the oldest record. I'm able to get this to work just fine with one minor...

View Article

Finding last Index of a String in HANA

I am trying to do a address cleansing of a long text string loaded into HANA and I am trying to split the text based on the location of space " " in the string. As part of it I am trying to find the...

View Article


Re: How to aggregate in Calculation View, but still output detail field

Hi Adam, I'm not too sure about your exact requirements, but if you're using a calculation view anyhow, you could approach this in several ways: 1) Just write the classic SQL query for this kind of...

View Article


Re: How to aggregate in Calculation View, but still output detail field

Hi Adam,May be I have not understood your scenario. However you want to show all the cases and just one record per material you have to preaggregate your material dimension data to store a single...

View Article

Re: How to aggregate in Calculation View, but still output detail field

The output row should look like this: CustomerMaterialQuantityCaseDateABCXXX10045620130217 For what it's worth, I was able to get someone to write a SQL based Calculation view that works exactly like...

View Article

Re: Problem activating HANA SP5 Decision Table

Hi, Does _SYS_REPO has all Select, Execute and Update Permissions for your schema ? Regards,Abhinav Kumar

View Article

Re: How to load CSV files into HANA

Hi Alvaro,  previously i was importing csv file to sap hana database using cloudShare.com. first i was uploading to FTP server(ftp.sapdevcenter.com) from there i uploaded to the hana database, now the...

View Article


Image may be NSFW.
Clik here to view.

Problem of Calculation View based on SQLScript

Hi All, I am facing a strange problem in SAP HANA Studio, when I create Calculation View based on SQLScript, not graphical, when I deploy and activate it works properly for few times till I update it...

View Article

Naming of Column Views in _SYS_BIC

Hi All,     I am trying to create a procedure which will access the analytic views present in _SYS_BIC -> Column Views.  What I need to know is, the Naming Convention of the analytic views in this...

View Article


SLT Replication - Status Scheduled

The error was in the ECC system which was being used in the replication. It did not have enough free memory to create new database triggers

View Article

Re: Naming of Column Views in _SYS_BIC

Hi Shreepad, Please refer to the following thread in which the '/olap' view has already been discussed in details. http://scn.sap.com/thread/3269108 Just out of curiosity, why do you wish to access the...

View Article


Re: How to aggregate in Calculation View, but still output detail field

Ok great, it sounds like you are all set then.  Good luck.

View Article

Re: AWS HANA Developer Ed. Access to SAPUI5 Toolkit

Release the mac version of the studio!

View Article

Re: Finding last Index of a String in HANA

Ok I tested this and it will work based on counting the number of spaces.  This will handle up to 2 spaces.  If you want more simply add some more WHEN conditions;  maybe not the prettiest but it will...

View Article
Browsing all 9165 articles
Browse latest View live


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