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

xsjs SQL performance issue

Hi guys, I have a issue with xsjs SQL performance.  I have a simple sql query, SELECT count(*) FROM "demo"."demo::view" WHERE "StateID"=5It finishs execution in 400 ms in HANA SQL console. When I put...

View Article


Re: xsjs SQL performance issue

This is correct as these two statements produces different entries in execution plan cache.Try to launch XS version several times - should come to 400 ms as well.

View Article


Re: HANA Service "sapstatsrv" can not start

Check the traces first.

View Article

Re: xsjs SQL performance issue

Hi Dzianis, We did launch it several times but it does not change. 2.5 seconds is the average time taken for the query.

View Article

Re: HEX String to INTEGER conversion

Yes, thanks for the input and this is exactly what I tried to do, but it yields: Could not execute 'CREATE FUNCTION hexstr2int (IN i_hex VARCHAR(2000)) RETURNS o_result BIGINT LANGUAGE SQLSCRIPT SQL...

View Article


Image may be NSFW.
Clik here to view.

Re: HEX String to INTEGER conversion

Correct, character-type parameters for UDFs are supported as of SPS 8.I thought the cloud version would be on SPS 8 by now - but apparently it's not  I see the use case, but there's currently no...

View Article

Re: HEX String to INTEGER conversion

My current use-case is in the context of a PoC where I generate testdata with configurable data volumes in a generic but deterministic way (a non real-life scenario). I know that HANA provides internal...

View Article

Re: How to execute a MDX query in SAP HANA Studio

So I executed this series of sql: set 'MDX_CATALOG_NAME' = 'testing'; MDX SELECT{[MEASURES].STO_OPEN_QUANTITY} on COLUMNS,{[WERKS].MEMBERS} on ROWSfrom [CA_PFEP_STO_ALL]; MDX GET_AXISDATA 1...

View Article


How to setup a table with Time constraint

Hi, how to create a table with time constraint in SAP HANA so with validity period for the set of keys? I have not managed to link together the begin and end date to form a validity interval which...

View Article


Re: SAP HANA - Does history tables records stored internally in same table?

Did you try the documentation yet? Auditing Activity in SAP HANA Systems - SAP HANA Security Guide - SAP Libraryis a pretty good place to start off.

View Article

Re: invalid datatype: "LOCATION" SPATIAL type in GROUP BY clause

Not really Lars, but I just want to see the data which I have inserted in the table, from Analytic view, so that I can access this to expose over web service.Does this mean, if I make LOCATION as my...

View Article

Re: Toggle line breakpoint error

You should first checkout and import the file in the "Repositories" View.Then open the file from the "Project Explorer" and set the breakpoint

View Article

Re: invalid datatype: "LOCATION" SPATIAL type in GROUP BY clause

If you just want to see the data in the table, why don't you skip the analytic view altogether? It's not the right tool for this. And how do you think would making the LOCATION primary key change its...

View Article


Re: invalid datatype: "LOCATION" SPATIAL type in GROUP BY clause

This is how my flow: Table-> analytic view -> .xsodata (to expose this view) -> .js(Ajax call to .xsodata web service) ->.html I am only aware of below string in .xsodata for analytic view...

View Article

Image may be NSFW.
Clik here to view.

Re: invalid datatype: "LOCATION" SPATIAL type in GROUP BY clause

Can't really say why you didn't find this during your extensive search but in the SAP HANA Development Concepts guide, Chapter "5.1 Data Access with OData in SAP HANA XS" - "5.1.1. OData in SAP HANA...

View Article


Re: xsjs Library "sap.hana.xsopen.*"

Yes we used this library at TechEd as a preview of a new SPS09 library. It will ship standard in SPS09 in a few weeks. The library path name will change slightly in the shipping version.  It will be...

View Article

Re: Push notification

WebSockets is still in our product backlog. I can't comment further on when it might arrive. Instead of push you can consider some form of polling mechanism.

View Article


HANA XS Outbound Http Issue

Hello all, We are unable to call http destination from XS . Below is the hana log:XsIpConnection   IPConnection.cpp(00072) : IPconnection can not initialize libsapcrypto. rc = -40 In XSJS...

View Article

Re: HANA XS Outbound Http Issue

Hi Ramya, It seems you want to make HTTPS request which is not enabled by default. Please make sure you've configured everything successfully. Here is some info for you. How to Configure SSL for SAP...

View Article

Left Outer join

Hi, I have a small requirement which I want to achieve. I have 2 tables table1 and table2. Table1.: A_ID         Desc1 1               ABC1               DEF2               GHI2               JKL3...

View Article
Browsing all 9165 articles
Browse latest View live


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