UPDATE DESIGNATION_REVISED A SET A.DCODE_ORG=(SELECT D.DCODE_ORG FROM DESIGNMAST_DUP D WHERE D.DNAME=A.DNAME)
以上update
投掷
单行子查询返回多行:ORA-01427
答案 0 :(得分:0)
我认为在您的DESIGNMAST_DUP
表中名称是重复的,因此内部查询返回多行。
试试这个: -
UPDATE DESIGNATION_REVISED A SET A.DCODE_ORG=(SELECT distinct D.DCODE_ORG FROM DESIGNMAST_DUP D WHERE D.DNAME=A.DNAME)