INTO
Description
Appears once for each table affected by a multi-table insert
Versions
This operation was introduced in Oracle 9.0.1
This operation is implemented in the following versions
Example
This example was developed using Oracle 9.2.0.1 on Windows 2000
This example requires the following table definition
CREATE TABLE t1 (c1 DATE);
CREATE TABLE t2 (c1 DATE);
The table does not need to be analysed
Consider the statement
INSERT ALL
INTO t1
INTO t2
SELECT SYSDATE FROM dual;
In Oracle 9.2 this statement generates the following execution plan
0 INSERT STATEMENT Optimizer=CHOOSE
1 0 MULTI-TABLE INSERT
2 1 INTO OF 'T1'
3 1 INTO OF 'T2'
4 3 TABLE ACCESS (FULL) OF 'DUAL'
In Oracle 10.2 this statement generates the following execution plan
0 INSERT STATEMENT Optimizer=CHOOSE
1 0 MULTI-TABLE INSERT
2 1 INTO OF 'T1'
3 1 INTO OF 'T2'
4 3 FAST DUAL
|