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: materialized views and ORDER BY

Re: materialized views and ORDER BY

From: Greg Norris <spikey.mcmarbles_at_gmail.com>
Date: Wed, 25 Apr 2007 13:47:37 -0500
Message-ID: <d4beff360704251147t74d09c1l3c6deace2c93233c@mail.gmail.com>


On 4/25/07, Gints Plivna <gints.plivna_at_gmail.com> wrote:
>
> MV data are stored just like table data. Oracle never ever guaranteed
> that someone will get back rows in any particular order from tables.
> That's also true for MVs. So if you need to get data from MVs ordered
> the only guaranteed approach is to add order by clause.
>

Believe me, I understand... I've come across the "you don't need to use ORDER BY" meme many times. My developers position was that MVs are just another type of view, and should therefore behave the same... I wasn't able to convince him otherwise until I (finally) located the portion of documentation which covers that exact scenario. Thankfully, order has been restored (pun most definitely intended!). :p

-- 
"I'm too sexy for my code." - Awk Sed Fred.

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Apr 25 2007 - 13:47:37 CDT

Original text of this message

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