-- Dropping the transactional subscriptions
USE [ActivePos_read]
EXEC sp_dropsubscription @publication = N'ActivePosTran', @subscriber = N'WAM707A02', @destination_db = N'ActivePos_read', @article = N'all'
GO

-- Dropping the transactional articles
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'Brand', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'Brand', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'BrevierText', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'BrevierText', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'ClinicalCheck', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'ClinicalCheck', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'ClinicalCheckToPatient', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'ClinicalCheckToPatient', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'ClinicalCheckType', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'ClinicalCheckType', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'CommonVar', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'CommonVar', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'Criteria', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'Criteria', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'CustomerCard', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'CustomerCard', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'CustomerReminder', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'CustomerReminder', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'DatabaseHistory', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'DatabaseHistory', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'DiscountVoucher', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'DiscountVoucher', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'DiscountVoucherActionDefinition', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'DiscountVoucherActionDefinition', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'DiscountVoucherActionDefinitionSpecificTargetItem', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'DiscountVoucherActionDefinitionSpecificTargetItem', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'DiscountVoucherCondition', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'DiscountVoucherCondition', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'DiscountVoucherCouponActionDefinition', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'DiscountVoucherCouponActionDefinition', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'DiscountVoucherCouponActionDefinitionPrinting', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'DiscountVoucherCouponActionDefinitionPrinting', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'DiscountVoucherCouponActionDefinitionText', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'DiscountVoucherCouponActionDefinitionText', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'DiscountVoucherPackageElement', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'DiscountVoucherPackageElement', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'DiscountVoucherText', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'DiscountVoucherText', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIIBill_Pharmacists_Header', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIIBill_Pharmacists_Header', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIICommon_Bank_PTT_Master', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIICommon_Bank_PTT_Master', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIICommunicationItem', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIICommunicationItem', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIICountry_Master', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIICountry_Master', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIICoverage_Documents', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIICoverage_Documents', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIICurrency_Master', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIICurrency_Master', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIICustomer', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIICustomer', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIICustomerCategory', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIICustomerCategory', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIICustomerGroup', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIICustomerGroup', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIICustomerToPerson', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIICustomerToPerson', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIIDelivery_Note_Header', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIIDelivery_Note_Header', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIIDiscountOperation', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIIDiscountOperation', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIIDiscountSchemaDetail', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIIDiscountSchemaDetail', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIIExchange_rate', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIIExchange_rate', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIIGaldatCode11', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIIGaldatCode11', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIIInsurance_Master', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIIInsurance_Master', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIIInsuranceAgreement', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIIInsuranceAgreement', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIIInsuranceCodeException', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIIInsuranceCodeException', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIIInsuranceGroup', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIIInsuranceGroup', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIIInsuranceGroupLink', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIIInsuranceGroupLink', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIIInsuranceTaxLink', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIIInsuranceTaxLink', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIIItemCommercialRule', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIIItemCommercialRule', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIIItemLink', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIIItemLink', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIIItemRelation', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIIItemRelation', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIIManufacturer', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIIManufacturer', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIINetwork_Registration_Detail', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIINetwork_Registration_Detail', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIINetworkDiscount', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIINetworkDiscount', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIIPartner_Item_Details', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIIPartner_Item_Details', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIIPartner_Stock_Details', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIIPartner_Stock_Details', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIIPatient_Insurance', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIIPatient_Insurance', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIIPayment', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIIPayment', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIIPerson', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIIPerson', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIIPerson_Title', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIIPerson_Title', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIIPharmaceutical_Master', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIIPharmaceutical_Master', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIIPharmacy', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIIPharmacy', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIIPhysician', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIIPhysician', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIIPrescription_hdr', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIIPrescription_hdr', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIIPrice', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIIPrice', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIIPriceCode', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIIPriceCode', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIIPriceModifier', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIIPriceModifier', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIIProduct_Form', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIIProduct_Form', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIIRayon_Code_Master', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIIRayon_Code_Master', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIIRefundException', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIIRefundException', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIIRepetition_Info', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIIRepetition_Info', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIISales_Order_Detail', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIISales_Order_Detail', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIISales_Order_Detail_Additional_Info', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIISales_Order_Detail_Additional_Info', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIISales_Order_Header', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIISales_Order_Header', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIIService_Master', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIIService_Master', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIISmall_Expense_Master', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIISmall_Expense_Master', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIISpecialDiscountSchema', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIISpecialDiscountSchema', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIISpecialDiscountSchemaDetail', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIISpecialDiscountSchemaDetail', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIISpecialDiscountSchemaDetail_old_prod_2', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIISpecialDiscountSchemaDetail_old_prod_2', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIIStorage_Area', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIIStorage_Area', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIITax', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIITax', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIIUserDetails', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIIUserDetails', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIIVat_Code_Master', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIIVat_Code_Master', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'IIIZip_master', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'IIIZip_master', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'InsuranceNetwork', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'InsuranceNetwork', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'Interaction', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'Interaction', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'ItemComposition', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'ItemComposition', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'ItemInteraction', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'ItemInteraction', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'ItemLimitation', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'ItemLimitation', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'ItemLocation', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'ItemLocation', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'ItemRegulationInfo', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'ItemRegulationInfo', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'ItemSearch', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'ItemSearch', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'ItemSite', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'ItemSite', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'ItemText', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'ItemText', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'MigrationScriptHistory', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'MigrationScriptHistory', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'NumeraryValue', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'NumeraryValue', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'Operation', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'Operation', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'OperationRole', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'OperationRole', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'OuManager', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'OuManager', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'PatientQuickInfo', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'PatientQuickInfo', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'PharmacyItemLink', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'PharmacyItemLink', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'PointOfSale', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'PointOfSale', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'Posology', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'Posology', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'PrescriberRole', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'PrescriberRole', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'QrCodes', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'QrCodes', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'Report', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'Report', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'Role', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'Role', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'RunOnceScriptHistory', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'RunOnceScriptHistory', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'StandardText', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'StandardText', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'StandardTextText', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'StandardTextText', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'Substance', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'Substance', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'UserRole', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'UserRole', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'VestaVersion', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'VestaVersion', @force_invalidate_snapshot = 1
GO
use [ActivePos_read]
exec sp_dropsubscription @publication = N'ActivePosTran', @article = N'WebService', @subscriber = N'all', @destination_db = N'all'
GO
use [ActivePos_read]
exec sp_droparticle @publication = N'ActivePosTran', @article = N'WebService', @force_invalidate_snapshot = 1
GO

-- Dropping the transactional publication
use [ActivePos_read]
exec sp_droppublication @publication = N'ActivePosTran'
GO

