Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Materialize a Subquery without using "with" clause

653212Sep 21 2010 — edited Oct 4 2010
Hi experts,

We know that we can materialize a subquery as below :

with sub_q as
( select /*+ materialize */ a,b,c from table_name )
select * from sub_q;

My question is, is there any other way to force a subquery be materialized by writing straight as below ?:

select * from
( select a,b,c from table_name );

Thanks in advance.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 1 2010
Added on Sep 21 2010
25 comments
14,330 views