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 -> Can we use ORDER BY in view?

Can we use ORDER BY in view?

From: dd <dd_at_dd.com>
Date: Mon, 28 Feb 2005 20:20:42 +0800
Message-ID: <42230d1b$1_3@rain.i-cable.com>


Can we use ORDER BY clause in view's definition:

CREATE OR REPLACE VIEW a_v as
select * from a order by 1;

According to Oracle's Student Guide, this is not allowed. But, by my testing with 9iR2, it is allowed. So what is the exact rule? Received on Mon Feb 28 2005 - 06:20:42 CST

Original text of this message

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