IF NOT EXISTS (SELECT * FROM sys.foreign_keys WHERE object_id = OBJECT_ID(N'[dbo].[FK_EST_NFE_IMP_ALC_ZFM_NAO_CONV_EST_NF_ENT_EST_NFE_IMP_ALC_ZFM_NAO_CONV]'))
begin
	ALTER TABLE EST_NFE_IMP_ALC_ZFM_NAO_CONV_EST_NF_ENT ADD CONSTRAINT FK_EST_NFE_IMP_ALC_ZFM_NAO_CONV_EST_NF_ENT_EST_NFE_IMP_ALC_ZFM_NAO_CONV
FOREIGN KEY (CD_CTR_IMP_ALC_ZFM_NAO_CONV   ) REFERENCES EST_NFE_IMP_ALC_ZFM_NAO_CONV (CD_CTR_IMP_ALC_ZFM_NAO_CONV   );
end