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

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