Re: Debet-Credit-Balance Calculation - Mailing list pgsql-sql

From Muhyiddin A.M Hayat
Subject Re: Debet-Credit-Balance Calculation
Date
Msg-id 005001c545a8$71b66bd0$1f00a8c0@middinks
Whole thread Raw
In response to Debet-Credit-Balance Calculation  ("Muhyiddin A.M Hayat" <middink@indo.net.id>)
List pgsql-sql
> There is an easy way to do this; write a plpgsql set returning
> function which adds the balance to the last column of the table.  That
> query will always have a cost in both time and memory proportional to
> the size of the table, and the memory cost may bite you as table size
> grows...
> -- 

Can you give me some example function which adds the balance to the last 
column of the table. or other query which same result and more faster

Thanks. 




pgsql-sql by date:

Previous
From: "Muhyiddin A.M Hayat"
Date:
Subject: Re: Debet-Credit-Balance Calculation
Next
From: Chris Browne
Date:
Subject: Re: Debet-Credit-Balance Calculation