Re: how to alter sequence.

Поиск
Список
Период
Сортировка
От Egon Reetz
Тема Re: how to alter sequence.
Дата
Msg-id 3DEE077F.8F083C9E@usco.de
обсуждение исходный текст
Ответ на how to alter sequence.  (raja kumar thatte <trajakumar@yahoo.com>)
Ответы Re: how to alter sequence.  (raja kumar thatte <trajakumar@yahoo.com>)
Re: how to alter sequence.  (raja kumar thatte <trajakumar@yahoo.com>)
Список pgsql-admin
I meant start value (inst. min.).

Egon Reetz wrote:

> Drop the sequence and recreate with a min. value greater your last value and
> the new max. value.
>
> Egon
>
> raja kumar thatte wrote:
>
> > Hai friends,
> > I have a sequence called raj_seq with max value 3000.
> > I have a table, with one field haveing
> > nextvalu('raj_seq') as default value.;
> > now i wanted to increase the max value of the raj_seq
> > to 9999999.
> > How to do this change?
> > If i drop and recreate the raj_seq, then i have to
> > recreate the table and all triggers working on that
> > table.But it is not an acceptable solution.
> > So with out droping raj_seq , how do I solve this
> > problem.
> > Thanks in advance.
> > have a nice time.
> > raja
> >
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> > http://mailplus.yahoo.com
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 6: Have you searched our list archives?
> >
> > http://archives.postgresql.org
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html


В списке pgsql-admin по дате отправления:

Предыдущее
От: Egon Reetz
Дата:
Сообщение: Re: how to alter sequence.
Следующее
От: raja kumar thatte
Дата:
Сообщение: Re: how to alter sequence.