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

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