drop table target purge
ORA-00942: table or view does not existMore Details: https://docs.oracle.com/error-help/db/ora-00942
drop table source purge
ORA-00942: table or view does not existMore Details: https://docs.oracle.com/error-help/db/ora-00942
create table target ( a number, b number )
Table created.
create table source ( a number, b number )
Table created.
insert into target values ( 1, 1 )
1 row(s) inserted.
insert into source values ( 1, 1 )
1 row(s) inserted.
insert into source values ( 1, 2 )
1 row(s) inserted.
insert into source values ( 1, 3 )
1 row(s) inserted.
merge into target
using (select * from source order by b desc) source
on (target.a = source.a)
when matched then
update set target.b = source.b
ORA-30926: unable to get a stable set of rows in the source tables ORA-06512: at "SYS.DBMS_SQL", line 1721More Details: https://docs.oracle.com/error-help/db/ora-30926
merge into target
using (select * from source order by b asc) source
on (target.a = source.a)
when matched then
update set target.b = source.b
ORA-30926: unable to get a stable set of rows in the source tables ORA-06512: at "SYS.DBMS_SQL", line 1721More Details: https://docs.oracle.com/error-help/db/ora-30926
merge into target
using source
on (target.a = source.a)
when matched then
update set target.b = source.b
ORA-30926: unable to get a stable set of rows in the source tables ORA-06512: at "SYS.DBMS_SQL", line 1721More Details: https://docs.oracle.com/error-help/db/ora-30926
drop table target purge
Table dropped.
drop table source purge
Table dropped.
create table target ( a number, b number )
Table created.
create table source ( a number, b number )
Table created.
insert into target values ( 1, 1 )
1 row(s) inserted.
insert into source values ( 1, 1 )
1 row(s) inserted.
insert into source values ( 1, 2 )
1 row(s) inserted.
insert into source values ( 1, 3 )
1 row(s) inserted.
merge into target
using (select * from source order by b desc) source
on (target.a = source.a)
when matched then
update set target.b = source.b
ORA-30926: unable to get a stable set of rows in the source tables ORA-06512: at "SYS.DBMS_SQL", line 1721More Details: https://docs.oracle.com/error-help/db/ora-30926
merge into target
using (select * from source order by b asc) source
on (target.a = source.a)
when matched then
update set target.b = source.b
ORA-30926: unable to get a stable set of rows in the source tables ORA-06512: at "SYS.DBMS_SQL", line 1721More Details: https://docs.oracle.com/error-help/db/ora-30926
merge into target
using source
on (target.a = source.a)
when matched then
update set target.b = source.b
ORA-30926: unable to get a stable set of rows in the source tables ORA-06512: at "SYS.DBMS_SQL", line 1721More Details: https://docs.oracle.com/error-help/db/ora-30926
delete source where b= 3
1 row(s) deleted.
merge into target
using (select * from source order by b desc) source
on (target.a = source.a)
when matched then
update set target.b = source.b
ORA-30926: unable to get a stable set of rows in the source tables ORA-06512: at "SYS.DBMS_SQL", line 1721More Details: https://docs.oracle.com/error-help/db/ora-30926
merge into target
using (select * from source order by b asc) source
on (target.a = source.a)
when matched then
update set target.b = source.b
Statement processed.
merge into target
using source
on (target.a = source.a)
when matched then
update set target.b = source.b
ORA-30926: unable to get a stable set of rows in the source tables ORA-06512: at "SYS.DBMS_SQL", line 1721More Details: https://docs.oracle.com/error-help/db/ora-30926
drop table target purge
Table dropped.
drop table source purge
Table dropped.
create table target ( a number, b number )
Table created.
create table source ( a number, b number )
Table created.
insert into target values ( 1, 1 )
1 row(s) inserted.
insert into source values ( 1, 1 )
1 row(s) inserted.
insert into source values ( 1, 2 )
1 row(s) inserted.
insert into source values ( 1, 3 )
1 row(s) inserted.
merge into target
using (select * from source order by b desc) source
on (target.a = source.a)
when matched then
update set target.b = source.b
ORA-30926: unable to get a stable set of rows in the source tables ORA-06512: at "SYS.DBMS_SQL", line 1721More Details: https://docs.oracle.com/error-help/db/ora-30926
merge into target
using (select * from source order by b asc) source
on (target.a = source.a)
when matched then
update set target.b = source.b
ORA-30926: unable to get a stable set of rows in the source tables ORA-06512: at "SYS.DBMS_SQL", line 1721More Details: https://docs.oracle.com/error-help/db/ora-30926
merge into target
using source
on (target.a = source.a)
when matched then
update set target.b = source.b
ORA-30926: unable to get a stable set of rows in the source tables ORA-06512: at "SYS.DBMS_SQL", line 1721More Details: https://docs.oracle.com/error-help/db/ora-30926
delete source where b= 3
1 row(s) deleted.
merge into target
using (select * from source order by b desc) source
on (target.a = source.a)
when matched then
update set target.b = source.b
ORA-30926: unable to get a stable set of rows in the source tables ORA-06512: at "SYS.DBMS_SQL", line 1721More Details: https://docs.oracle.com/error-help/db/ora-30926
merge into target
using (select * from source order by b asc) source
on (target.a = source.a)
when matched then
update set target.b = source.b
Statement processed.
merge into target
using source
on (target.a = source.a)
when matched then
update set target.b = source.b
ORA-30926: unable to get a stable set of rows in the source tables ORA-06512: at "SYS.DBMS_SQL", line 1721More Details: https://docs.oracle.com/error-help/db/ora-30926
rollback
Statement processed.
merge into target
using source
on (target.a = source.a)
when matched then
update set target.b = source.b
Statement processed.