Begin /*主表数据*/ DELETE FROM tFrmEnum WHERE EnumType='#ENUMTYPE'; #MASTER /*从表数据*/ DELETE FROM tFrmEnumValue WHERE EnumType='#ENUMTYPE'; #DETAIL Commit; End; /