As for the sql in the future, there's a few options depending on what the status is for the new product at that product type.
Individual product update:
Code:
update products p set p.products_type=1 where p.products_id=10;
Multiple product of that type, but not all:
Code:
update products p set p.producst_type=1 where p.products_id=10 or p.products_id=11;
All product of that type:
Code:
update products p set p.products_type=1 where p.products_type=4;
All product of that type but not one product:
Code:
update products p set p.producst_type=1 where p.products_type=4 and p.products_id != 12;
All product of that type but not two or more product:
Code:
update products p set p.products_type=1 where p.products_type=4 and p.products_id != 13 and p.products_id != 14;
All product regardless of product type (not suggested for everyone because of the constraints described above):
Code:
update products p set p.products_type=1;
Even within those there are variations that can be done to make writing the list easier...
Instead of each individual != can do:
where p.products_id not in (15,16,17)
The products_id values above relate to the product in question, the products_type value above is that for document - product in a default install...