delete from VCLib.T_CLIENT_MODULE_FEATURE where ClientModules in (select ClientModuleID from VCLib.T_CLIENT_MODULES where ModuleType = 'APSStorageClientModule');
delete from VCLib.T_CLIENT_MODULES where ModuleType = 'APSStorageClientModule';