Re: insert statement using order by
Date: 1999/10/13
Message-ID: <%Z0N3.4584$7K4.36856_at_typ11a.deja.bcandid.com>#1/1
There are no concurrency issues because each process that performs the sort
and select operates in its own space. This is how User A and User B can
request different sort criteria and range of rows and get the appropriate
response.
However, as you guys have informed me, even if I could insert data into the
temporary table sorted, Oracle does not guarantee to store it that way.
So, any suggestions on how to accomplish this would help. I believe the
answer probably deals with using cursors.
Thanks,
> Hi all,
Stephen
>
> I would like to be able to take data from one table and put the data in
> another table sorted. I have attempted to use the "insert into tablename
> (select * from othertable order by desc)". However, Oracle 8 and 8i do
not
> support this(it is a bug). Oracle did support the use of order by in a
sub
> query in release 7.3.4.
>
> I am looking for a solution that does not involve exporting the table data
> to file sorted and then loading it using sql loader.
>
> Thanks for your help,
> Stephen
>
>
>
Received on Wed Oct 13 1999 - 00:00:00 CEST