Re: How to update two tables but limit one row?
Order By and Limit aren't supported in multi-table updates.
To update a specific t2 row only you'll need to specify it uniquely, eg with its primary key.
update t1
join t2 on t1.id = t2.parentId
set ...
where ...
Subject
Views
Written By
Posted
1228
February 09, 2019 05:36PM
552
February 09, 2019 05:38PM
Re: How to update two tables but limit one row?
605
February 09, 2019 08:28PM
447
August 14, 2019 06:12AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.