Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Temporary tables from Select statements...
Yes. Use: CREATE TABLE my_temp_table AS
SELECT * FROM orders WHERE vat_rate >= 10;This will create a new table and populate it with values from orders. You will have to drop that table before using the create again.
Good Luck
JohnL
Luca Minudel wrote in message <01bd5dab$14481120$0100007f_at_w95luca>... Is it possible with Oracle to automatically create temporary tables containing rows returned by a SELECT statement? Just like SELECT * FROM ORDERS
WHERE VAT_RATE >= 10 INTO MY_TEMP_TABLE
![]() |
![]() |