update accept_order_details set validity_period=12 where product_set_id=17 and validity_period=24;
update order_details set validity_period=12 where product_set_id=17 and validity_period=24;
update purchase_details set validity_period=12 where product_set_id=17 and validity_period=24;
update sale_details set validity_period=12 where product_set_id=17 and validity_period=24;
update shipping_details set validity_period=12 where product_set_id=17 and validity_period=24;
update restoration_details set validity_period=12 where product_set_id=17 and validity_period=24;
update disposal_details set validity_period=12 where product_set_id=17 and validity_period=24;
update sample_details set validity_period=12 where product_set_id=17 and validity_period=24;
update adjustment_details set validity_period=12 where product_set_id=17 and validity_period=24;
update stocks set validity_period=12 where product_set_id=17 and validity_period=24;
