Next time could you give us the T/SQL script for the problem..This has a loop but should get you started...declare @TestTable table (a int, b int, c int)insert @TestTable Select 1, 1, 1UNION ALLSelect 2, 2, 5UNION ALLSelect 3, 7, 3UNION ALLSelect 4, 10, 1select * from @TestTableupdate @TestTable set c = 10where A = 2while @@ROWCOUNT > 0 update T set b = (Select x.b+x.c from @TestTable X where X.a = T.a-1) from @TestTable T where exists (Select 1 from @TestTable X where X.a = T.a-1 and T.b != X.c+X.b)select * from @TestTable
DavidMProduction is just another testing cycle