Quantcast
Channel: SCN : Unanswered Discussions - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 4343

Are input parameters immutable in Stored Procedures in SAP HANA

$
0
0

Hi All,

 

I am quite new to SAP HANA and actively engaged in modifying MS SQL sever stored procedures in HANA. I am using SQLScript to write the procedures. While trying to modify the input variables in stored procedures I get error. For example, If an input variable (type integer) is 0 then i want to set it to null. Currently i am storing the input variable in another temporary variable and then modifying it. Are the input variables immutable ? OR am i missing something?

Also, while trying to fill the output variable (which is table type) if I use the function IFNULL it throws error on certain input values. I am having to use another explicit select query to put the result (which i want to achieve using IFNULL) in temporary variable and then use this variable while filling the output variable. Is there another good way of doing it?

 

Is there any good tutorial for SAP HANA specifically for stored procedures. I could google a few but none of them seem to explain extensively

 

Thanks,

Nikhil


Viewing all articles
Browse latest Browse all 4343

Trending Articles