DECLARE @SUM AS INT --? SET @SUM = 0 SELECT @SUM = @SUM + COLUMN_TO_AGGREGATE FROM MY_TABLE
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)