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: question about sequences.

Re: question about sequences.

From: DA Morgan <damorgan_at_exesolutions.com>
Date: Sat, 15 Feb 2003 15:41:48 -0800
Message-ID: <3E4ED03C.D5835E31@exesolutions.com>


Ryan wrote:

> I got a trick question in an interview and I dont know if what I said was
> write. It was a written exam so I couldnt ask.
>
> Someone does
>
> select sequence.nextval
> from dual;
>
> you get two sequence numbers back. All I could think of was that someone
> inserted a second row into dual.
>
> Could any other reason lead to two sequence numbers being returned?

No!

Daniel Morgan Received on Sat Feb 15 2003 - 17:41:48 CST

Original text of this message

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