--I have both oracle 8i and 9i running. I want to update two columns in a --table with two different conditions. Is it possible to do it as one sql --statment? Sure. Try this: UPDATE t1 SET NOTFLAG = DECODE(NOTFLAG, '1', NULL, NOTFLAG), EVIDENCE = DECODE(EVIDENCE, '2', NULL, EVIDENCE) / Jason. -- //www.freelists.org/webpage/oracle-l