I have to translate your application with SQL Server on Oracle.
I have 2 tables:
create table aaa
(
id_a int,
id_b int
)
truncate table aaa
insert into aaa values(1,1)
insert into aaa values(2,2)
select * from aaa
create table bbb
(
id_aa int,
id_bb int
)
truncate table bbb
insert into bbb values(1,11)
insert into bbb values(2,22)
select * from bbb
I have this code:
update a
set a.id_b = b.id_bb
FROM aaa a, bbb b
WHERE a.id_a = b.id_aa
How to translete to Oracle this code without cursor?
https://www.youtube.com/user/learnwithtutorials/playlists