Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Sequences and group by
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.orgReceived on Tue Apr 24 2007 - 10:30:12 CDT
![]() |
![]() |