Quantcast
Channel: SCN: Message List - SAP Applications on SAP Adaptive Server Enterprise (SAP ASE)
Viewing all articles
Browse latest Browse all 3678

Issues with cursor

$
0
0

Hi All,

 

We have a cursor declared in a stored procedure.

While debugging this stored procedure, I noticed that if there are 10 rows (for example) satisfying the cursor criterion, when we loop through the cursor

data using "while @@sqlstatus =0", the cursor is looping for only 4 rows (for example).

 

So the cursor is not fetching all the rows satisfying the cursor criterion. Can any one explain this.

 

I hope I explained my issue clearly.

 

Regards,

 

Kiran


Viewing all articles
Browse latest Browse all 3678

Trending Articles



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