ORACLE 更新关联多张表
时间:2021-07-01 10:21:17
帮助过:1人阅读
T_XMLC_BILL_HEAD_BAK T1
SET (T1.SENDRECEIVEFLAG,
T1.SENDRECEIVEOPERATOR,
T1.SENDRECEIVEDATE,
T1.DECLAREAPPLICANT,
T1.DECLAREDATE,
T1.DECLAREAPPROVEFLAG,
T1.DECLAREAPPROVEDATE)=(
SELECT T2.SENDRECEIVEFLAG,
T2.SENDRECEIVEOPERATOR,
T2.SENDRECEIVEDATE,
T2.DECLAREAPPLICANT,
T2.DECLAREDATE,
T2.DECLAREAPPROVEFLAG,
T2.DECLAREAPPROVEDATE
FROM T_XMLC_BILL_HEAD_PRE T2
WHERE T2.OID
=T1.OID
AND T2.OID
=‘2caf5b22-b1ea-44f5-8a9b-98727c7d4082‘
)
ORACLE 更新关联多张表
标签: