Re: How do we set new value for a SEQUENCE?

From: Gorm Larsen <gorm_larsen_at_vestjyde.dk>
Date: Mon, 21 Feb 2000 22:30:06 +0100
Message-ID: <MPG.131bccc9dffc2d7098969e_at_valhal>


In article <R7fs4.7403$al3.97821_at_newsc.telia.net>, ingvar.larsson_at_gilsupport. se says...
> We have a sequence counter we wants to give new value for the next sequence
> value.

> Than we executes something like
> ALTER SEQUENCE seqcnt NEXTVAL 20;

I don't think you can alter nextval, but you can drop the sequence and create it again with "start with" option.

-- 
Gorm Larsen
Received on Mon Feb 21 2000 - 22:30:06 CET

Original text of this message