I have 4 rows
open_qty, deptin_qty, deptout_qty ,clsg_qty 10 0 0 0 0 5 0 0 0 0 -20 0 0 10 0 0
this way i want result
open_qty, deptin_qty, deptout_qty ,clsg_qty 10 0 0 10 10 5 0 15 15 0 -20 -5 -5 10 0 5
how to do using update query plz help me
I have 4 rows
open_qty, deptin_qty, deptout_qty ,clsg_qty 10 0 0 0 0 5 0 0 0 0 -20 0 0 10 0 0
this way i want result
open_qty, deptin_qty, deptout_qty ,clsg_qty 10 0 0 10 10 5 0 15 15 0 -20 -5 -5 10 0 5
how to do using update query plz help me
One of the methods is the one shown under running total here
http://sqlblogcasts.com/blogs/madhivanan/archive/2009/06/10/quirky-update-in-sql-server.aspx
are you asking how to use the UPDATE query?
Madhivanan pointed you to a good article.
Here is another link to help you research more.
No one has followed this question yet.