UPDATE TBPDV_ITENS_TEMP T SET T.status = 0 WHERE T.status IS NULL;

ALTER TABLE TBPDV_ITENS_TEMP ALTER STATUS SET NOT NULL;

ALTER TABLE TBPDV_ITENS_TEMP ALTER COLUMN STATUS
SET DEFAULT 0;


