1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
| SQL> insert into TABLE_TEST_CA (child_code ,mother_code)
2 with t as (
3 select /*+ materialize*/ child_code , mother_code
4 from table(cast(F_TEST_CA as T_TEST_CA_TABLE))
5 )
6 select child_code , mother_code from t;
1 row created.
SQL> with t as (
2 select /*+ materialize*/ child_code , mother_code
3 from table(cast(F_TEST_CA as T_TEST_CA_TABLE))
4 )
5 select child_code , mother_code from t;
CHILD_CODE MOTHER_CODE
-------------------------------------------------- --------------------------------------------------
0001015 0253640
SQL> with t as (
2 select child_code , mother_code
3 from table(cast(F_TEST_CA as T_TEST_CA_TABLE))
4 )
5 select child_code , mother_code from t;
CHILD_CODE MOTHER_CODE
-------------------------------------------------- --------------------------------------------------
0001015 0253640
0001015 0253640
SQL> with t as (
2 select /*+ materialize*/ child_code , mother_code
3 from table(cast(F_TEST_CA as T_TEST_CA_TABLE))
4 )
5 select child_code , mother_code from t;
CHILD_CODE MOTHER_CODE
-------------------------------------------------- --------------------------------------------------
0001015 0253640
SQL> commit;
Commit complete.
SQL> with t as (
2 select /*+ materialize*/ child_code , mother_code
3 from table(cast(F_TEST_CA as T_TEST_CA_TABLE))
4 )
5 select child_code , mother_code from t;
CHILD_CODE MOTHER_CODE
-------------------------------------------------- --------------------------------------------------
0001015 0253640
0001015 0253640
SQL> |
Partager