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: Sequences and group by

Re: Sequences and group by

From: Brian Peasland <dba_at_nospam.peasland.net>
Date: Tue, 24 Apr 2007 09:57:38 -0500
Message-ID: <462e0ea4$0$8096$88260bb3@free.teranews.com>


klaus1 wrote:
> hi!
>
> I try to use a select statement whit an myseq.nextval, but I need an
> group by at the end of the select.
>
> select myseq.nextval, a, b, c from table
> groupby a, b, c;
>
> doesn't run.
> anyone any idea?
> thanks,
> Klaus
>

Why do you need a GROUP BY clause here?

Cheers,
Brian

-- 
===================================================================

Brian Peasland
dba_at_nospam.peasland.net
http://www.peasland.net

Remove the "nospam." from the email address to email me.


"I can give it to you cheap, quick, and good.
Now pick two out of the three" - Unknown

-- 
Posted via a free Usenet account from http://www.teranews.com
Received on Tue Apr 24 2007 - 09:57:38 CDT

Original text of this message

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