We have a table with several fields, like 300+. the structure is like this:
storenum, Monval1, Monval2… Monval45, Monval46… Tuesval1, Tuesval2 and so on. basically for values 1 thru 53 there is a version for each day of the week so 53 fields * 7 days plus a few other random fields.
i need to update stores 3 thru 285 with data from store 1. what i tried:
Update (Select MonVal1... SunVal53 from table1
where storenum in (3, 4,...284,285)) as Dest
From (Select MonVal1... SunVal53 from table1
where storenum =1) as Source
but its a nogo.
can what i’m trying to do even be done?
1 Answer