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 versus order by desc problem ..... probably a simple

RE: order by versus order by desc problem ..... probably a simple

From: Khedr, Waleed <Waleed.Khedr_at_FMR.COM>
Date: Thu, 20 Jun 2002 10:51:01 -0800
Message-ID: <F001.004831F0.20020620105101@fatcity.com>


Looks like a bug!

-----Original Message-----
Sent: Thursday, June 20, 2002 2:17 PM
To: Multiple recipients of list ORACLE-L pro

select distinct col1 from table_name where col1 like 'ABC_____' and col2 > 0
order by col1;

returns 38 rows ......

but ....

select distinct col1 from table_name where col1 like 'ABC_____' and col2 > 0
order by col1 desc;

returns 0 rows just by putting in the descending clause....

anybody seen this happen before ....

new index has been added on the table, but nothing else is new.
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Johnson, Michael
  INET: Michael.Johnson_at_oln-afmc.af.mil

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: Khedr, Waleed
  INET: Waleed.Khedr_at_FMR.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 Thu Jun 20 2002 - 13:51:01 CDT

Original text of this message

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