--Conversion script
-- Create/Recreate check constraints 
delete from i_stockdefinitionperitem i where i.sizecode = '*';
alter table I_STOCKDEFINITIONPERITEM
  add constraint CHKI_STOCKDEFIPERITEM_SIZESTAR
  check (SIZECODE <> '*');

-- Create/Recreate check constraints 
delete from i_deliveryhistory i where i.sizecode = '*';
alter table I_DELIVERYHISTORY
  add constraint CHK_I_DELIVERYHISTORY_SIZESTAR
  check (SIZECODE <> '*');
  
delete from i_soilticketline i where i.sizecode = '*';
alter table I_SOILTICKETLINE
  add constraint CHK_I_SOILTICKETLINE_SIZESTAR
  check (SIZECODE <> '*');
  
delete from i_deliveryvariation i where i.sizecode = '*';
alter table I_DELIVERYVARIATION
  add constraint CHK_I_DELIVERYVAR_SIZESTAR
  check (SIZECODE <> '*');