Hi,
I have set up my upsells using Norman's groovy drillpine.biz upsell add on, and this involves making copies of products. Some of our popular products are referred to dozens of times as upsells, and this means that updating the descriptions / price or other details becomes a real headache.
I would like to put together some SQL so I can update all the products with a similar product code. I've done some SQL in the past but never with smelly Microsoft products.
I'm looking for something similar to :-
UPDATE Product set Full Description="blardy blardy bla" WHERE Product Reference RLIKE "#1$"
RLIKE being a regular expressing meaning anything ending in "#1" which would be all the upsell products which point to product 1.
Anyone got something similar to hand?
Thanks,
Steve Button
I have set up my upsells using Norman's groovy drillpine.biz upsell add on, and this involves making copies of products. Some of our popular products are referred to dozens of times as upsells, and this means that updating the descriptions / price or other details becomes a real headache.
I would like to put together some SQL so I can update all the products with a similar product code. I've done some SQL in the past but never with smelly Microsoft products.
I'm looking for something similar to :-
UPDATE Product set Full Description="blardy blardy bla" WHERE Product Reference RLIKE "#1$"
RLIKE being a regular expressing meaning anything ending in "#1" which would be all the upsell products which point to product 1.
Anyone got something similar to hand?
Thanks,
Steve Button
Comment