In Oracle, the syntax for updating a view is different from the syntax of SQL * Server. In Oracle, you can specify the following query:
UPDATE (SELECT A.TEMSILCI_KOD
FROM S_MUSTERI A, S_TEKLIF B
WHERE A.TEMSILCI_KOD = 9
AND B.BAYI_KOD = 17
AND A.HESAP_NO = B.HESAP_NO)
SET TEMSILCI_KOD = 4
Note. This query will only work in Oracle if it (S_TEKLIF.BAYI_KOD, S_TEKLIF.HESAP_NO)is unique (so the update will not be ambiguous, and each row of it S_MUSTERIwill be updated no more than once).
source
share