IF NOT EXISTS (SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME= 'EST_PROD_CD_BARRA' AND COLUMN_NAME = 'FLAG_NAO_ENVIA_NFE')
BEGIN
	ALTER TABLE EST_PROD_CD_BARRA ADD FLAG_NAO_ENVIA_NFE INT NOT NULL CONSTRAINT DF_EST_PROD_CD_BARRA_FLAG_NAO_ENVIA_NFE DEFAULT 0
END
