IF NOT EXISTS (SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'EST_PROD' AND COLUMN_NAME = 'ISENCAO_LANCAMENTO_LOTE')
BEGIN
	ALTER TABLE EST_PROD ADD ISENCAO_LANCAMENTO_LOTE int DEFAULT 0 NOT NULL;
END;