Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: How to calculate Surplus w.r.t the previously changed value?

$
0
0

Hi Mayur,

 

I have found the way to get the Surplus Output in SQL itself just now.

So no need write the Procedure and Cursor logic.

 

Please use this logic for you data and check whether it is giving correct results?

 

temp.PNG


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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