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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: order by non-unique column, repeatable?

Re: order by non-unique column, repeatable?

From: Regina Harter <rharter_at_emc-inc.com>
Date: Fri, 06 Apr 2001 10:34:12 -0700
Message-ID: <F001.002E44B7.20010406102153@fatcity.com>

You are correct. Even though 95% of the time they WILL be returned in the same order, it is definitely not guaranteed.

At 09:50 AM 4/6/01 -0800, you wrote:
>If a select statement orders by a column whose values are not unique, are
>the records returned in an order that is guaranteed to be repeatable from
>query to query? (Assuming no updates, deletes, or inserts between
>queries.)
>
>I would think not, that guaranteed repeatable ordering requires ordering on
>a unique column or combination of columns, but I've been unable to generate
>a test case that proves it.
>
>Thanks
>Bill
>--
>
>______________________________________________
>http://www.datacraft.com/ http://plnet.org/
>
>
>--
>Please see the official ORACLE-L FAQ: http://www.orafaq.com
>--
>Author: Bill Pribyl
> INET: bill_at_datacraft.com
>
>Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
>San Diego, California -- Public Internet access / Mailing Lists
>--------------------------------------------------------------------
>To REMOVE yourself from this mailing list, send an E-Mail message
>to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
>the message BODY, include a line containing: UNSUB ORACLE-L
>(or the name of mailing list you want to be removed from). You may
>also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Regina Harter
  INET: rharter_at_emc-inc.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Fri Apr 06 2001 - 12:34:12 CDT

Original text of this message

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