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

Cursor loooping error in SQL procedure

$
0
0

I am getting an error,when looping through a cursor.Please find the code below.

 

 

c1 forSELECT Account,"Account Description"FROM"CHEP_DEMO"."TBL_PALLET_MOVEMENT";

/********* Begin Procedure Script ************/

BEGIN

open c1;

for cur_row as c1 do


endfor;


close c1;

END;

 

I am getting an error,whenever i am having the for loop.if i remove the for loop i donot get an error.

any help is appreciated.

 

regards

Kaushik


Viewing all articles
Browse latest Browse all 4343

Trending Articles



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