alter table quant_sold alter qs_internal drop not null;
alter table quant_purchase alter qp_internal drop not null;