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


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