--Author: Venkata Potluri
--Date: Oct 22, 2015

UPDATE SIEBEL_PURGE.TEMP_TXN_10212015
   SET TOTAL_POINTS = 0
 WHERE TOTAL_POINTS IS NULL;

COMMIT;

UPDATE SIEBEL_PURGE.TEMP_TXN_10212015
   SET PROMO_POINTS = NUM_POINTS - TOTAL_POINTS;

COMMIT;
