By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
1 rows affected
1 rows affected
| NUM_ | '<-T1' |
|---|---|
| 1 | <- T1 |
| 200 | <- T2 |
ORA-06550: line 2, column 6:
PLS-00204: function or pseudo-column 'EXISTS' may be used inside a SQL statement only
ORA-06550: line 2, column 3:
PL/SQL: Statement ignored
1 rows affected
dbms_output:
else
| NUM_ | TABLE_ |
|---|---|
| 1 | <- T1 |
| 2 | <- T1 |
| 200 | <- T2 |
| 2 | <- T2 |
1 rows affected
dbms_output:
if
| NUM_ | TABLE_ |
|---|---|
| 1 | <- T1 |
| 2 | <- T1 |
| 200 | <- T2 |
| 2 | <- T2 |
| 2 | <- T2 |