今天遇到一个语句
update t1 set (t1.name,t1.date)=(select t2.name,sysdate from t2 where t2.no=t1.no)
where t1.code='编码';
之前没遇到过这种多个字段等于多个值的修改语句。这样是可以的吗?
今天遇到一个语句
update t1 set (t1.name,t1.date)=(select t2.name,sysdate from t2 where t2.no=t1.no)
where t1.code='编码';
之前没遇到过这种多个字段等于多个值的修改语句。这样是可以的吗?