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

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


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