回答ではありません。
例えばこんな方法で入れるのもありという内容です。
SQL
-- DDL
CREATE SEQUENCE hoge_seq;
CREATE TABLE A_table(id NUMBER PRIMARY KEY, value VARCHAR2(10));
CREATE TABLE B_table(id NUMBER PRIMARY KEY, value VARCHAR2(10));
CREATE TABLE C_table(id NUMBER PRIMARY KEY, value VARCHAR2(10));
CREATE TABLE tmp_to_insert(aval VARCHAR2(10), bval VARCHAR2(10), cval varchar2(10));
-- データロードは適当なツール(sql loaderの最速オプション指定など)でtmp_to_insertに突っ込む。ココでは普通に入れる。
insert into tmp_to_insert values('foo1', 'bar1', 'hoge1');
insert into tmp_to_insert values('foo2', 'bar2', 'hoge2');
insert into tmp_to_insert values('foo3', 'bar3', 'hoge3');
commit;
-- ちゃんと入ったか確認
select * from tmp_to_insert;
-- 後は流し込むだけ
INSERT ALL
INTO A_table(id, value) values(hoge_seq.nextval, aval)
INTO B_table(id, value) values(hoge_seq.nextval, bval)
INTO C_table(id, value) values(hoge_seq.nextval, cval)
SELECT * FROM tmp_to_insert;
-- 確認
SELECT *
FROM A_table A
inner join B_table B on B.id=A.id
inner join C_table C on C.id=B.id
;
commit;
-- 後始末
drop table tmp_to_insert cascade constraints purge;
実行結果
[root@cc15414f91d5 ~]# sqlplus system/oracle@database:1521 <hoge.sql
SQL*Plus: Release 21.0.0.0.0 - Production on Wed Dec 14 17:39:14 2022
Version 21.6.0.0.0
Copyright (c) 1982, 2022, Oracle. All rights reserved.
Last Successful login time: Wed Dec 14 2022 17:37:38 +00:00
Connected to:
Oracle Database 21c Express Edition Release 21.0.0.0.0 - Production
Version 21.3.0.0.0
SQL> SQL>
Sequence created.
SQL>
Table created.
SQL>
Table created.
SQL>
Table created.
SQL>
Table created.
SQL> SQL> SQL>
1 row created.
SQL>
1 row created.
SQL>
1 row created.
SQL>
Commit complete.
SQL> SQL>
AVAL BVAL CVAL
---------- ---------- ----------
foo1 bar1 hoge1
foo2 bar2 hoge2
foo3 bar3 hoge3
SQL> SQL> SQL> 2 3 4 5
9 rows created.
SQL> SQL> SQL> 2 3 4 5
ID VALUE ID VALUE ID VALUE
---------- ---------- ---------- ---------- ---------- ----------
1 foo1 1 bar1 1 hoge1
2 foo2 2 bar2 2 hoge2
3 foo3 3 bar3 3 hoge3
SQL>
Commit complete.
SQL> SQL> SQL>
Table dropped.
SQL> Disconnected from Oracle Database 21c Express Edition Release 21.0.0.0.0 - Production
Version 21.3.0.0.0
[root@cc15414f91d5 ~]#
※Oracle Database 21c Express Edition