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!

Temporary Tables in Stored Procedure

SeshuGiriDec 8 2009 — edited Dec 8 2009
Hi,

I am writing a stored procedure that will get data from different sources and generates a spreadsheet finally. Initial select gets the basic data and following selects merges data.

For this I have created a table in the database, I am populating data into that table using same procedure and finally selecting data from that table to generate spreadsheet.

Now I am planning to use TEMPORARY table instead of creating table in database. Can anyone tell me where I can view samples for temp tables?

Which one is the better option in performance wise?

or

can I handle the whole scenario with cursor? any examples?
This post has been answered by Frank Kulash on Dec 8 2009
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 5 2010
Added on Dec 8 2009
2 comments
488 views