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!

temp table replacement on oracle database?

702702Jun 11 2009 — edited Mar 5 2010
On sql server database, we often use temp table to keep some temp data. How can we do these on oracle database? For example:

on sql server:

create procedure proc(@p char(40)) as
begin
insert #temptablle
select pkid from sometable
end

In another procedure, we might call this procedure, and make further to query this temp table to do something. How can we do this on oracle?

Thanks

Edited by: user778708 on 2009-6-11 上午8:20
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 2 2010
Added on Jun 11 2009
24 comments
2,493 views