--conversion script

alter table I_BDECUSTOMER
  drop constraint FKI_BDECUSTOMER_ISPAYBYCUST;

-- Create/Recreate primary, unique and foreign key constraints 
alter table I_BDECUSTOMER
  add constraint FKI_BDECUSTOMER_ISPAYBYCUST foreign key (PAYBYCUSTOMERNUMBER)
  references I_CUSTOMER (CUSTOMERNUMBER) on delete cascade;