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

Home -> Community -> Usenet -> c.d.o.server -> Re: Trigger error

Re: Trigger error

From: andrewst <member14183_at_dbforums.com>
Date: Mon, 03 Nov 2003 08:12:31 -0500
Message-ID: <3552569.1067865151@dbforums.com>

Originally posted by McStock

> rownum is the pre-sort order of the rows -- rownum = 1 is not
> always the

> first row returned:

> <snip>

>

OK, so in that scenario:

select dname, deptno

into ...

from (select dname, deptno from dept order by dname desc)

where rownum = 1;

But I'll admit the implicit solution is starting to lose some of its charm here.

--
Posted via http://dbforums.com
Received on Mon Nov 03 2003 - 07:12:31 CST

Original text of this message

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