Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I want to add a runbalance calculated field in query
Message
De
26/11/2006 05:15:49
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Versions des environnements
SQL Server:
SQL Server 7.0
Divers
Thread ID:
01172408
Message ID:
01172458
Vues:
17
select outdt as date ,packsetid, shetkariid,
sum(inqty) as inqty,
sum(outqty) as outqty ,
sum(inqty - outqty) as Balance

will this balance be a running balance (i.e. yesterdays closing is todays opening)

rajesh
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform