if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[V_Search_Kharid_TmpHavaleh]'))
drop View [dbo].[V_Search_Kharid_TmpHavaleh]

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[V_Search_BKharid_TmpHavaleh]'))
drop View [dbo].[V_Search_BKharid_TmpHavaleh]


if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[V_Search_Forosh_TmpHavaleh]'))
drop View [dbo].[V_Search_Forosh_TmpHavaleh]


if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[V_Search_BForosh_TmpHavaleh]'))
drop View [dbo].[V_Search_BForosh_TmpHavaleh]


if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[V_Search_OmdehForosh_TmpHavaleh]'))
drop View [dbo].[V_Search_OmdehForosh_TmpHavaleh]


if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[V_search_Bomdeh_tmphavaleh]'))
drop View [dbo].[V_search_Bomdeh_tmphavaleh]


if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[V_Search_Rasid_TmpHavaleh]'))
drop View [dbo].[V_Search_Rasid_TmpHavaleh]




