DELETE FROM T_META_FORMDESIGN WHERE FNUMBER = 'bos_dialogtpl_small';
DELETE FROM T_META_FORMDESIGN_L WHERE FNUMBER = 'bos_dialogtpl_small';
DELETE FROM T_META_ENTITYDESIGN WHERE FNUMBER = 'bos_dialogtpl_small';
DELETE FROM T_META_ENTITYDESIGN_L WHERE FNUMBER = 'bos_dialogtpl_small';
DELETE FROM T_META_ENTITY WHERE FNUMBER = 'bos_dialogtpl_small';
DELETE FROM T_META_FORM WHERE FNUMBER = 'bos_dialogtpl_small';
DELETE FROM T_META_ENTITYINFO WHERE FID = 'bos_dialogtpl_small';    
DELETE FROM T_META_MAINENTITYINFO WHERE FID = 'bos_dialogtpl_small';
DELETE FROM T_META_MAINENTITYINFO_L WHERE FID = 'bos_dialogtpl_small';