if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Tu_CallFactor]') and OBJECTPROPERTY(id, N'IsTrigger') = 1)
drop trigger [dbo].[Tu_CallFactor]

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

