Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9076

Re: SQLScript Table Variables - how to populate table variables in code?

$
0
0

Hi Rich,

 

As u talk about array in hana...i have below requirements which involve array. could you please help me, how i should proceed.

 

Requirement

===============

Below is my requirement.

From UI i am getting three input parameters.

1) First input parameter is array which is containing columns of existing view.

2) Second parameter is also an array which is containing columns of existing view.

3) Third parameter containing name of existing view.

 

Above two array containing columns of existing view.Name of view is passed in third parameter.

 

Now i need to send data through procedure by selecting columns from view. All array value will be char. How i should pass the data from procedure as columns are dynamic? for example --

If first array containing column as name,id and second array containing column as firstname,lastname and third parameter containing view name as ABC.Then i need to return data by writing select name,id,firstname,lastname from ABC. all these data need to pass through procedure. I am not sure upto how much extent it is possible in hana.

 

Please help. 


Viewing all articles
Browse latest Browse all 9076

Trending Articles