注册

mysql if 判断

赵超琪 2023/08/24 520 1 已解决

为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
【DM版本】:DM8
【操作系统】:
【CPU】:
【问题描述】*:下列语句从mysql迁移
update a set a.finish_time = if(finish_time is null or state is null, '2023-08-24', finish_time)

if 中 无法使用 is null,如果单条件可以使用达梦 IFNULL,但是这种多条件如何处理?

回答 0
暂无回答
扫一扫
联系客服