Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Pls Help... Oracle sort order
<Amritha.Datta_at_gmail.com> wrote in message
news:1183754401.260677.108060_at_g13g2000hsf.googlegroups.com...
> In which sort order does oracle display the records if there is no
> sort order specified in the SQL query?
>
> Is there any article which tells about this?
>
> My Oracle version is 9i
>
> Thanks.
>
Unless you specify the sort order with an order by clause, the output order is dependent on the execution path that the optimizer happens to pick to acquire the data - which means the order may vary from day to day.
There are many articles about this on the internet, for example:
.http://jonathanlewis.wordpress.com/2007/03/05/ordering/
-- Regards Jonathan Lewis http://jonathanlewis.wordpress.com Author: Cost Based Oracle: Fundamentals http://www.jlcomp.demon.co.uk/cbo_book/ind_book.html The Co-operative Oracle Users' FAQ http://www.jlcomp.demon.co.uk/faq/ind_faq.htmlReceived on Fri Jul 06 2007 - 15:53:03 CDT
![]() |
![]() |