Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: sequences and order by
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?
![]() |
![]() |