Hi everyone,
here is my Sp of A2003 Project to calculate the gross amount but does not return the desired result
First I wrote the sp in this way..
CREATE Procedure dbo.GetHDCBillGrs
AS
SET NOCOUNT ON
BEGIN
DECLARE @HGrs float
SET @HGrs=(Select isnull(Sum(HDC_BillChildT.Codeamount),0)
From...