-- 条件更新 UPDATE mem_address SET isDefault = CASE id WHEN ‘e7e9b5b569434708bfa0d1aad7f59e32‘ THEN ‘1‘ ELSE ‘0‘ END WHERE memId=‘28f501cd7fa54546b7e0cfa827998744‘;
原文地址:https://www.cnblogs.com/java-le/p/9668748.html
时间: 2024-10-13 07:17:07
-- 条件更新 UPDATE mem_address SET isDefault = CASE id WHEN ‘e7e9b5b569434708bfa0d1aad7f59e32‘ THEN ‘1‘ ELSE ‘0‘ END WHERE memId=‘28f501cd7fa54546b7e0cfa827998744‘;
原文地址:https://www.cnblogs.com/java-le/p/9668748.html