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

Re-using Table Variable in Procedure

Hi, I need to clear content of a table variable (which had data from database table TABLE1) an resue it later in my procedure to select data from different database table say TABLE 2. How do I do this....

View Article


Alter Command in SQLScript SAP HANA

Hello Everyone, I am trying the execute Alter command using SQL Console to change the Column type from NVARCHAR to SMALLINT in SAP HANA but i am getting the below error -  ALTER TABLE "TEST_TAB" ALTER...

View Article


Re: Re-using Table Variable in Procedure

Hello Anoop, you cannot use var1 for the second select too (if the structure of the tables are different). The SQLScript compiler determines the type of var1 during the first execution of the first...

View Article

Re: Alter Command in SQLScript SAP HANA

Hello Shivam, in general altering the table column type from nvarchar to smallint is possible in case the values of the column can be converted to smallint (e.g. no characters, integers in smallint...

View Article

Image may be NSFW.
Clik here to view.

Re: Hana Xs Engine Odata Service doesn' let me Create/Update/Delete

Hello, Have you set the allowed methods in XS ADMIN CORS for the package which contains your OData?  ThanksRamees

View Article


Re: Hana Xs Engine Odata Service doesn' let me Create/Update/Delete

Yannick, even though you can run these sql statements on the db side, please make sure you have those permissions attached to the package and also that you are able to expose the odata service as per...

View Article

Re: Re-using Table Variable in Procedure

Anoop,as you cannot reuse the table variable, why don't you just create another variable  v1 = select * from t1;v2 = select * from t2; shouldnt be too big of a deal, is it ?

View Article

Parameter in OData modification xs exit

Hello experts, I have 2 generic tables (tbl1, tbl2) and a couple of Calculation Views (calcview1, calcview2...) over those 2 tables. These calculation views are exposed on OData with XS exit for...

View Article


Image may be NSFW.
Clik here to view.

Re: Calculation view exposed on OData with CUD operations

POST worked after removing keys generate local "AutoGeneratedId"  and adding key ("ID")  where ID is a unique key in the underlying table of the CalcView1 . Also from XS admin...

View Article


Re: Re-using Table Variable in Procedure

Thanks Florian and Serigo, Actually my logic goes as below:var1 = SELECT * FROM table1;var2 = SELECT * FROM table2;join1 = FULL JOIN between var1 and var2-- hereon I do not need contents of var1 and...

View Article

SAP HANA Analytical View Restricted Key FIgure

Hello Experts, If I want to create a Restricted Field in Analytical view for example for a text field which starts with Monitor. Do I have the option to use any wild card character ? Regards

View Article

Problem when inserting BLOB object in $.hdb API

Hi, I am trying to insert an object (file) into BLOB column in HANA through $.hdb API (new XSJS API). The code is as follows: case "UPLOAD":var conn=$.hdb.getConnection();...

View Article

Re: HANA DU Import and Schema Mapping Error

Hi Archana, Actually I also tried DEV--> PROD also but it was the same issue.Anyways Thanks.

View Article


Image may be NSFW.
Clik here to view.

Re: HANA Input Stored Procedure with string XML format

Massoud, if you had that xml as json object then the stored procedure would work just fine also the stored procedure will return a json object as json becomes the standard for web communication, I...

View Article

Re: HANA Input Stored Procedure with string XML format

... if you had that xml as json object then the stored procedure would work just fine also the stored procedure will return a json object ... I think we have to add here that the stored procedure...

View Article


Re: Does system volume encryption apply to BLOBs?

SAP HANA and the documentation are in an ongoing development. Nothing here seems "final" if you ask me. But since help.sap.com is our official documentation channel, I'd say it doesn't get more...

View Article

Image may be NSFW.
Clik here to view.

Re: Does system volume encryption apply to BLOBs?

Lars, thanks for confirming! Much obliged

View Article


Re: Handling of Null as output in Scripted views

Thanks Lars. Is there any way I could make sure that the Scripted View always gives me zero instead of NULL. Any work arounds. Thanks,Murali.

View Article

Re: Handling of Null as output in Scripted views

Well, you're stacking an exception aggregation (a measure that is made up for every record on the fly) and a SUM aggregation on top of each other and work with filters that yield an empty result set....

View Article

Re: Handling of Null as output in Scripted views

Thanks Lars. I will try that.

View Article
Browsing all 9165 articles
Browse latest View live


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