第1个回答 推荐于2018-04-19
ORACLE数据库用NVL(COLUMN,'为空时的值')
SQLSERVER数据库用ISNULL() 用法同上本回答被网友采纳
第2个回答 2011-04-02
IF (@var is null) set @val = '你的新值'本回答被提问者采纳
第3个回答 2011-04-02
update table set fields='aaa' where fields is null or fields=''
第4个回答 2018-07-19
mysql:
when a.'字段名'is null then '结果'