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

Home -> Community -> Usenet -> c.d.o.misc -> Re: ORDER BY in View's subquery

Re: ORDER BY in View's subquery

From: Sybrand Bakker <gooiditweg_at_sybrandb.verwijderdit.demon.nl>
Date: Wed, 19 Jan 2005 07:53:18 +0100
Message-ID: <iq0su0hvsl3ubjqbduvbfl86hjl3pi5bt1@4ax.com>


On Wed, 19 Jan 2005 13:04:29 +0800, <tncc> wrote:

>The student guide for Introduction to Oracle9i: SQL mentioned that "the
>subquery that defines the view cannot contain an ORDER BY clause" (chap
>11-8). But I tested this with 9iR2 and the ORDER BY is allowed?! Is this
>just a difference between 9iR1 and 9iR2? Or is there something I am missing
>and a view's query really cannot have an ORDER BY ?
>
>Thx for any advice
>

You may want to check the release notes for 9ir2. If it is a new feature, it will have been documented.
IMO, they shouldn't have done this. A set is by design unordered.

--
Sybrand Bakker, Senior Oracle DBA
Received on Wed Jan 19 2005 - 00:53:18 CST

Original text of this message

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