您的位置:首页 > 其它

单表 单字段多条件更新

2011-05-23 18:21 176 查看
请问 这样多条件更新 如何写?

update ods_dictionary

set module_note='成功变更邮箱设置'

where module_id=12

set module_note='点击邮箱'

where module_id=13







update ods_dictionary

set module_note=decode(module_id,13,'点击邮箱营销链接等行为',14,'基础邮箱其它行为')

where module_id in (14,13)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐