IF NOT EXISTS (SELECT * FROM SYS.COLUMNS WHERE NAME = 'CONT_GERAL_N_FISC' AND OBJECT_ID = OBJECT_ID('PDV_CUPOM_NAO_FISCAL'))
BEGIN	
ALTER TABLE PDV_CUPOM_NAO_FISCAL ADD  CONT_GERAL_N_FISC INT DEFAULT 0;
END