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: Pls Help... Oracle sort order

Re: Pls Help... Oracle sort order

From: DA Morgan <damorgan_at_psoug.org>
Date: Fri, 06 Jul 2007 13:50:36 -0700
Message-ID: <1183755034.557325@bubbleator.drizzle.com>


Amritha.Datta_at_gmail.com wrote:
> 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.

In whatever order it happens to find them depending on the path it chooses to read them.

Don't expect this to change depending on version.

If you want to have ordering without an ORDER BY clause you must use a sorted hash cluster or an Index Organized Table (IOT).

-- 
Daniel A. Morgan
University of Washington
damorgan_at_x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org
Received on Fri Jul 06 2007 - 15:50:36 CDT

Original text of this message

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