if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Less_Anbar]') and OBJECTPROPERTY(id, N'IsTrigger') = 1)
Drop Trigger [dbo].[Less_Anbar]

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Ti_DrugHavaleh]') and OBJECTPROPERTY(id, N'IsTrigger') = 1)
Drop Trigger [dbo].[Ti_DrugHavaleh]

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TUH_Mojodi_Anbar]') and OBJECTPROPERTY(id, N'IsTrigger') = 1)
Drop Trigger [dbo].[TUH_Mojodi_Anbar]

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

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

