-1
這是MySQL代碼。將Mysql轉換爲Oracle
UPDATE ORDER_ITEM OI
INNER JOIN ORDER_PAYMENT OP
ON OI.ORDER_PAYMENT_ID = OP.ORDER_PAYMENT_ID
SET OI.ORDER_STATUS = '10',
OI.PAY_DATE = '20150101',
OP.PAY_DATE = '20150101'
WHERE OI.ORDER_STATUS = '0'
AND OP.AMOUNT = 3333
AND OP.REMAINING_AMOUNT = 0
AND OP.ORDER_PAYMENT_ID = 9999
轉換Oracle錯誤=> ORA-00971:缺少SET關鍵字
我想知道這種說法轉換到Oracle。
PS。 Oracle中可用的多表更新?
http://www.geeksengine.com/article/oracle-cross-table-update.html –