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

Multidimensional arrays in SQLScript

$
0
0

Hi dear experts,

 

I have two questions that are related to the project I'm currently working on:

 

1) is there any possibility to declare an multidimensional array in the SQLScript-based procedure ?

 

2) I'm actually trying to use table types (instead of arrays), but how could I access the specific table filed of the input table in my procedure:

 

CREATE PROCEDURE simpl (in intab tableau, in i integer, out outtab tableau)

AS

BEGIN

 

outtab= select top 10 from :intab where :intab.X = :i;

END;

 

tableau has three columns: A, B, C (type integer)

 

Thanks in advance!


Viewing all articles
Browse latest Browse all 4343

Trending Articles



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