
IF  EXISTS (SELECT * FROM sys.foreign_keys WHERE object_id = OBJECT_ID(N'[dbo].[FK_EST_PRECIFICACAO_GRP_PRECO_EST_NF_ENT_IT_EST_PROD_ENT_GRP_ECON]') AND parent_object_id = OBJECT_ID(N'[dbo].[EST_PRECIFICACAO_GRP_PRECO_EST_NF_ENT_IT]'))
ALTER TABLE [dbo].[EST_PRECIFICACAO_GRP_PRECO_EST_NF_ENT_IT] DROP CONSTRAINT [FK_EST_PRECIFICACAO_GRP_PRECO_EST_NF_ENT_IT_EST_PROD_ENT_GRP_ECON]
GO
 