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

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

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

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[fnSplitString]') and xtype in (N'FN', N'IF', N'TF'))
drop function [dbo].[fnSplitString]


