Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Help! Question on PL/SQL

Re: Help! Question on PL/SQL

From: Andreas Michler <Andreas.Michler_at_adicom.de>
Date: Thu, 20 Jan 2000 16:56:13 +0100
Message-ID: <3887301D.38E238D0@adicom.de>


I think you mean temp-tables.
In this way oracle doesn't have any temp Tables. You can do it in the following way
create table temp1 as select .... from .... where .....,; create table temp2 as select .... from .... where ....;

Don't forget to drop the table temp1,temp2,,,, manually. The will not be droppped automatically.

Dana Jian wrote:

> Hi,
>
> I'm converting one procedure from SQL server to Oracle procedure.
>
> Here's the simplified statements in the SQL proc,
>
> SELECT ... INTO #temp1 FROM....WHERE..
>
> SELECT ... INTO #temp2 FROM... WHERE
>
> SELECT ... FROM #temp1, #temp2 , .... WHERE ...
>
> How to do this in Oracle PL/SQL?
>
> Any comments/help will be highly appreciated!!
>
> Dana
> djian_at_trasa.com

--



ADICOM Informatik GmbH
Andreas Michler
Wiesfleckenstr. 34
72336 Balingen
Tel: 07433/9977-57,Fax: -90
E-Mail: Andreas.Michler_at_adicom.de
http:\\www.adicom.de
Received on Thu Jan 20 2000 - 09:56:13 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US