UPDATE A
SET A.OfficeIndexes = B.ReceiptID
FROM
RZ_PB_RZMinorInfo A,
RZ_PB_ChargesPlan B
WHERE
A.AuthNo = B.AuthNo
sqlserver根据某一字段将A表数据update到B表
最新推荐文章于 2024-08-29 12:56:56 发布
UPDATE A
SET A.OfficeIndexes = B.ReceiptID
FROM
RZ_PB_RZMinorInfo A,
RZ_PB_ChargesPlan B
WHERE
A.AuthNo = B.AuthNo