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!

Execution of With Clause

3479627Aug 18 2017 — edited Aug 18 2017

Hi Everyone,

Did lot of searching in google to see how With Clause gets executed. I read that it created global temporary table and inserts the record.And from there it gets executed. I have written a very complex SQL with 2000 lines.My driving SQL is under WITH clause and couple of inline queries which basically perform arthematic operation like summing numerous costs.

Wanted t understand how Oracle will execute my statement.

Will Oracle first execute my With clause statement and then executes Inline queries.I am also thing to include my inline queries in With Clause. How it could execute.

Thanks everyone.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 15 2017
Added on Aug 18 2017
9 comments
1,896 views