发布网友
共2个回答
热心网友
UPDATE TABLE SET xxx=CASE WHEN xxx IS NULL THEN 0 ELSE 1 END;
热心网友
select decode(你的字段,'',0,'1') from 你的表