DELETE FROM T_META_BIZUNITRELFORM WHERE FFORMID IN (SELECT FID FROM T_META_FORMDESIGN WHERE FNUMBER = 'fpm_model');
DELETE FROM T_META_FORMDESIGN WHERE FNUMBER = 'fpm_model';
DELETE FROM T_META_ENTITYDESIGN WHERE FNUMBER = 'fpm_model';
DELETE FROM T_META_FORMDESIGN_L WHERE FNUMBER = 'fpm_model';
DELETE FROM T_META_ENTITYDESIGN_L WHERE FNUMBER = 'fpm_model';
DELETE FROM T_META_FORM WHERE FNUMBER = 'fpm_model';
DELETE FROM T_META_ENTITY WHERE FNUMBER = 'fpm_model';
DELETE FROM T_META_ENTITYINFO WHERE FID = 'fpm_model';
DELETE FROM T_META_MAINENTITYINFO WHERE FID = 'fpm_model';
DELETE FROM T_META_MAINENTITYINFO_L WHERE FID = 'fpm_model';

DELETE FROM T_META_BIZUNITRELFORM WHERE FFORMID IN (SELECT FID FROM T_META_FORMDESIGN WHERE FNUMBER = 'fpm_membertemplete');
DELETE FROM T_META_FORMDESIGN WHERE FNUMBER = 'fpm_membertemplete';
DELETE FROM T_META_ENTITYDESIGN WHERE FNUMBER = 'fpm_membertemplete';
DELETE FROM T_META_FORMDESIGN_L WHERE FNUMBER = 'fpm_membertemplete';
DELETE FROM T_META_ENTITYDESIGN_L WHERE FNUMBER = 'fpm_membertemplete';
DELETE FROM T_META_FORM WHERE FNUMBER = 'fpm_membertemplete';
DELETE FROM T_META_ENTITY WHERE FNUMBER = 'fpm_membertemplete';
DELETE FROM T_META_ENTITYINFO WHERE FID = 'fpm_membertemplete';
DELETE FROM T_META_MAINENTITYINFO WHERE FID = 'fpm_membertemplete';
DELETE FROM T_META_MAINENTITYINFO_L WHERE FID = 'fpm_membertemplete';

DELETE FROM T_META_BIZUNITRELFORM WHERE FFORMID IN (SELECT FID FROM T_META_FORMDESIGN WHERE FNUMBER = 'fpm_orgmember');
DELETE FROM T_META_FORMDESIGN WHERE FNUMBER = 'fpm_orgmember';
DELETE FROM T_META_ENTITYDESIGN WHERE FNUMBER = 'fpm_orgmember';
DELETE FROM T_META_FORMDESIGN_L WHERE FNUMBER = 'fpm_orgmember';
DELETE FROM T_META_ENTITYDESIGN_L WHERE FNUMBER = 'fpm_orgmember';
DELETE FROM T_META_FORM WHERE FNUMBER = 'fpm_orgmember';
DELETE FROM T_META_ENTITY WHERE FNUMBER = 'fpm_orgmember';
DELETE FROM T_META_ENTITYINFO WHERE FID = 'fpm_orgmember';
DELETE FROM T_META_MAINENTITYINFO WHERE FID = 'fpm_orgmember';
DELETE FROM T_META_MAINENTITYINFO_L WHERE FID = 'fpm_orgmember';

DELETE FROM T_META_BIZUNITRELFORM WHERE FFORMID IN (SELECT FID FROM T_META_FORMDESIGN WHERE FNUMBER = 'fpm_setlementmember');
DELETE FROM T_META_FORMDESIGN WHERE FNUMBER = 'fpm_setlementmember';
DELETE FROM T_META_ENTITYDESIGN WHERE FNUMBER = 'fpm_setlementmember';
DELETE FROM T_META_FORMDESIGN_L WHERE FNUMBER = 'fpm_setlementmember';
DELETE FROM T_META_ENTITYDESIGN_L WHERE FNUMBER = 'fpm_setlementmember';
DELETE FROM T_META_FORM WHERE FNUMBER = 'fpm_setlementmember';
DELETE FROM T_META_ENTITY WHERE FNUMBER = 'fpm_setlementmember';
DELETE FROM T_META_ENTITYINFO WHERE FID = 'fpm_setlementmember';
DELETE FROM T_META_MAINENTITYINFO WHERE FID = 'fpm_setlementmember';
DELETE FROM T_META_MAINENTITYINFO_L WHERE FID = 'fpm_setlementmember';

DELETE FROM T_META_BIZUNITRELFORM WHERE FFORMID IN (SELECT FID FROM T_META_FORMDESIGN WHERE FNUMBER = 'fpm_currencymember');
DELETE FROM T_META_FORMDESIGN WHERE FNUMBER = 'fpm_currencymember';
DELETE FROM T_META_ENTITYDESIGN WHERE FNUMBER = 'fpm_currencymember';
DELETE FROM T_META_FORMDESIGN_L WHERE FNUMBER = 'fpm_currencymember';
DELETE FROM T_META_ENTITYDESIGN_L WHERE FNUMBER = 'fpm_currencymember';
DELETE FROM T_META_FORM WHERE FNUMBER = 'fpm_currencymember';
DELETE FROM T_META_ENTITY WHERE FNUMBER = 'fpm_currencymember';
DELETE FROM T_META_ENTITYINFO WHERE FID = 'fpm_currencymember';
DELETE FROM T_META_MAINENTITYINFO WHERE FID = 'fpm_currencymember';
DELETE FROM T_META_MAINENTITYINFO_L WHERE FID = 'fpm_currencymember';

DELETE FROM T_META_BIZUNITRELFORM WHERE FFORMID IN (SELECT FID FROM T_META_FORMDESIGN WHERE FNUMBER = 'fpm_periodmember');
DELETE FROM T_META_FORMDESIGN WHERE FNUMBER = 'fpm_periodmember';
DELETE FROM T_META_ENTITYDESIGN WHERE FNUMBER = 'fpm_periodmember';
DELETE FROM T_META_FORMDESIGN_L WHERE FNUMBER = 'fpm_periodmember';
DELETE FROM T_META_ENTITYDESIGN_L WHERE FNUMBER = 'fpm_periodmember';
DELETE FROM T_META_FORM WHERE FNUMBER = 'fpm_periodmember';
DELETE FROM T_META_ENTITY WHERE FNUMBER = 'fpm_periodmember';
DELETE FROM T_META_ENTITYINFO WHERE FID = 'fpm_periodmember';
DELETE FROM T_META_MAINENTITYINFO WHERE FID = 'fpm_periodmember';
DELETE FROM T_META_MAINENTITYINFO_L WHERE FID = 'fpm_periodmember';

DELETE FROM T_META_BIZUNITRELFORM WHERE FFORMID IN (SELECT FID FROM T_META_FORMDESIGN WHERE FNUMBER = 'fpm_companymember');
DELETE FROM T_META_FORMDESIGN WHERE FNUMBER = 'fpm_companymember';
DELETE FROM T_META_ENTITYDESIGN WHERE FNUMBER = 'fpm_companymember';
DELETE FROM T_META_FORMDESIGN_L WHERE FNUMBER = 'fpm_companymember';
DELETE FROM T_META_ENTITYDESIGN_L WHERE FNUMBER = 'fpm_companymember';
DELETE FROM T_META_FORM WHERE FNUMBER = 'fpm_companymember';
DELETE FROM T_META_ENTITY WHERE FNUMBER = 'fpm_companymember';
DELETE FROM T_META_ENTITYINFO WHERE FID = 'fpm_companymember';
DELETE FROM T_META_MAINENTITYINFO WHERE FID = 'fpm_companymember';
DELETE FROM T_META_MAINENTITYINFO_L WHERE FID = 'fpm_companymember';

DELETE FROM T_META_BIZUNITRELFORM WHERE FFORMID IN (SELECT FID FROM T_META_FORMDESIGN WHERE FNUMBER = 'fpm_subjectmember');
DELETE FROM T_META_FORMDESIGN WHERE FNUMBER = 'fpm_subjectmember';
DELETE FROM T_META_ENTITYDESIGN WHERE FNUMBER = 'fpm_subjectmember';
DELETE FROM T_META_FORMDESIGN_L WHERE FNUMBER = 'fpm_subjectmember';
DELETE FROM T_META_ENTITYDESIGN_L WHERE FNUMBER = 'fpm_subjectmember';
DELETE FROM T_META_FORM WHERE FNUMBER = 'fpm_subjectmember';
DELETE FROM T_META_ENTITY WHERE FNUMBER = 'fpm_subjectmember';
DELETE FROM T_META_ENTITYINFO WHERE FID = 'fpm_subjectmember';
DELETE FROM T_META_MAINENTITYINFO WHERE FID = 'fpm_subjectmember';
DELETE FROM T_META_MAINENTITYINFO_L WHERE FID = 'fpm_subjectmember';