zhonghandle
Programmer
hi,
I am running into a problem that, suppose table A has 10 columns and I want to access one column each time, at the same time keep track of what column that is. For example, I will get all the data from column "c1" and put the summary of the data, say "15" into table B with two columns: one will store "c1", and another one stores the summation ("15"
. I want to loop the table 10 times (or not necessarily looping the table) so I can just write one query for it. Is there a way?
Or, is there a way to do that in DTS?
Thanks a million in advance.
I am running into a problem that, suppose table A has 10 columns and I want to access one column each time, at the same time keep track of what column that is. For example, I will get all the data from column "c1" and put the summary of the data, say "15" into table B with two columns: one will store "c1", and another one stores the summation ("15"
Or, is there a way to do that in DTS?
Thanks a million in advance.