Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Subquery Refactoring Oracle 8.1.7

Status
Not open for further replies.

Custom24

Programmer
Nov 27, 2001
591
GB
Is this possible?

For example, if I pass SQL
(A union B) minus (A intersection C),
is there any way to make Oracle understand that it needs to keep the results of subquery A in memory and use it again?

The explain plan shows that Oracle does not do this.

And this document seems to suggest that Oracle 9 can do this; see section 4.3

Thanks for any help


Mark [openup]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top