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: DA Morgan <damorgan_at_psoug.org>
Date: Tue, 24 Apr 2007 08:30:12 -0700
Message-ID: <1177428611.984871@bubbleator.drizzle.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

A GROUP BY is meaningless in this context. What is it you are actually trying to do and in what version of Oracle?

-- 
Daniel A. Morgan
University of Washington
damorgan_at_x.washington.edu
(replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org
Received on Tue Apr 24 2007 - 10:30:12 CDT

Original text of this message

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