SELECT Sum_count = sum(Person_count), Aggregated_area INTO #tmp_B FROM Geo_postaggregated_pop_count GROUP BY Aggregated_area; UPDATE Geo_postaggregated_pop_count SET Sum_of_person_count = t.Sum_count FROM Geo_postaggregated_pop_count G , #tmp_B t WHERE G.Aggregated_area = t.Aggregated_area
In reply to Re^3: Conversion to SPROC
by Win
in thread Conversion to SPROC
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |