Quantcast
Channel: SCN : Discussion List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 5653

Pass multiple values to procedure

$
0
0

Hi Experts,

 

I am calling a Calculation View inside a procedure.

My View has a mandatory input parameter and mandatory variable.

I am calling procedure as

 

BEGIN

 

SELECT SUM("SALARY"), "EMPNAME", "EMPID","COUNTRY",'REGION","DEPARTMENT"

FROM "_SYS_BIC"."Models/CV_EMP"

( PLACEHOLDER."$$P_DEPARTMENT$$" => :P_DEPARTMENT)

WHERE (("COUNTRY" IN (:V_COUNTRY)))

GROUP BY "EMPNAME", "EMPID","COUNTRY",'REGION","DEPARTMENT"


END;

 

I am able to pass single values to the procedure and it works fine.

My question is how to pass multiple values to the variable and input parameter?

 

Regards,

Rohit


Viewing all articles
Browse latest Browse all 5653

Trending Articles



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