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

Re: Looking for equivalent to "next value" in View

$
0
0

Hi Demian,

 

Based on Fernado idea, you have to create the SQLscript like this:

 

 /********* Begin Procedure Script ************/ 
 BEGIN      c1 = CE_COLUMN_TABLE ("SRK"."BSE",["Date","Open","High","Low","Close"]);     var_out = CE_PROJECTION (:c1, [CE_CALC('rownum()', integer) as "seq",  "Open"]);                 


END /********* End Procedure Script ************/

 

Here is my sample data, sqlscript and output as shown below

Seq.JPG

 

Regards

Raj


Viewing all articles
Browse latest Browse all 8968

Trending Articles



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