Oralce和DB2都支持的语法:
UPDATE A SET (A1, A2, A3) = (SELECT B1, B2, B3 FROM B WHERE A.ID = B.ID)
参考:
update select
http://www.cnblogs.com/delphinet/archive/2011/06/23/2087912.html
Oralce和DB2都支持的语法:
UPDATE A SET (A1, A2, A3) = (SELECT B1, B2, B3 FROM B WHERE A.ID = B.ID)
参考:
update select
http://www.cnblogs.com/delphinet/archive/2011/06/23/2087912.html