IF NOT EXISTS(SELECT 1 FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'EST_ARV_MERC_LINHA' AND COLUMN_NAME = 'FLAG_FILTRO_TELA_DIVERGENCIA')
BEGIN 
    ALTER TABLE EST_ARV_MERC_LINHA ADD FLAG_FILTRO_TELA_DIVERGENCIA INT NOT NULL DEFAULT 0
END