if exists (select * from dbo.sysobjects where id = object_id(N'SupplementaryInsurance_CalcFormula') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure SupplementaryInsurance_CalcFormula


if exists (select * from dbo.sysobjects where id = object_id(N'Sp_Queue') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure Sp_Queue


IF EXISTS ( SELECT  * FROM    dbo.sysobjects WHERE   id = OBJECT_ID(N'[dbo].[SupplementaryInsurance_CopyDrugCondition]')  AND OBJECTPROPERTY(id, N'IsProcedure') = 1 )
    DROP PROCEDURE [dbo].[SupplementaryInsurance_CopyDrugCondition]