Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I want to add a runbalance calculated field in query
Message
From
27/11/2006 08:39:06
 
 
To
25/11/2006 11:46:58
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Environment versions
SQL Server:
SQL Server 7.0
Miscellaneous
Thread ID:
01172408
Message ID:
01172630
Views:
9
Hi Rajesh,

this article might be what you are looking for:

http://www.sqlservercentral.com/articles/articlelink.asp?articleid=2702


>I want to add a balance field to this query how do I achive this
>
>
>select outdt as date ,packsetid, shetkariid,
>sum(inqty) as inqty, sum(outqty) as outqty , ****running balance field***
>from stkoffset
>where packsetid = @p_packsetid and shetkariid = @p_shetkariid
>group by packsetid, shetkariid, outdt
>order by packsetid, shetkariid, outdt
>
>Rajesh
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Previous
Reply
Map
View

Click here to load this message in the networking platform