IF  EXISTS (SELECT * FROM sys.check_constraints WHERE object_id = OBJECT_ID(N'[dbo].[CK_Trn_DocSoporteDetCdCuenta]') AND parent_object_id = OBJECT_ID(N'[dbo].[Trn_DocSoporteDet]'))
ALTER TABLE [dbo].[Trn_DocSoporteDet] DROP CONSTRAINT [CK_Trn_DocSoporteDetCdCuenta]
