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: sequences and order by

RE: sequences and order by

From: Mohan, Ross <RMohan_at_thexchange.com>
Date: Thu, 6 May 2004 19:38:26 -0400
Message-ID: <CC74E7E10A8A054798B6611BD1FEF4D304CE7B27@vamail01.thexchange.com>


something to do w/transactional status not being bipolar... lol...sorry, it's late I am fried....

-----Original Message-----

From: david wendelken [mailto:davewendelken_at_earthlink.net] Sent: Thursday, May 06, 2004 7:34 PM
To: oracle-l_at_freelists.org
Subject: sequences and order by

I've been coding pl/sql for 16 years or so and just ran into something today that surprised me.

I was doing a standard Insert into ... select ... from ... statement.

I had a sequence_name.nextval in the select clause and an order by clause on the select statement.

Oracle wouldn't accept the use of the NEXTVAL with an ORDER BY.

Has it always been that way?

Have I really coded hundreds of complex programs and just never run into that before?



Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--

Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html


Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--

Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
Received on Thu May 06 2004 - 18:36:38 CDT

Original text of this message

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