Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: materialized views and ORDER BY
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-lReceived on Wed Apr 25 2007 - 13:47:37 CDT
![]() |
![]() |