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: strange cost in explain plan

Re: strange cost in explain plan

From: Gints Plivna <gints.plivna_at_gmail.com>
Date: Fri, 12 Oct 2007 12:30:17 +0300
Message-ID: <6e49b6d00710120230x57f2fec3oc5ac99ee485a07fa@mail.gmail.com>


Jonathan has answered your main question however I have one question to you: I'm just wondering what's the reason for SELECT distinct
....
WHERE rownum = 1

Are you planning to find duplicates in one row? ;) I don't know whether Oracle is smart enough actually not to make sort/hash unique each time when it finds 1 row (probably a question for Jonathan? ;), but at least to me as a developer it would be a misleading "distinct".

Gints Plivna
http://www.gplivna.eu

--
http://www.freelists.org/webpage/oracle-l
Received on Fri Oct 12 2007 - 04:30:17 CDT

Original text of this message

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