Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
6791 Представления

Friends,

How to edit the "next number" field in a sequence from,

Settings > Technical > Sequence & Identifiers > Sequence

Now i cant edit & save it..

Thanks

Аватар
Отменить
Автор

No 1 Know It

Everyone know that

Автор

Shut up u Juan

Лучший ответ

I don't know if it the official solution but you can try this:

  1. Access database with something like psql or pgadmin3
  2. Find the sequence you want to reset
  3. enter query "ALTER SEQUENCE $yoursequence RESTART"

Now it should be reset to 1.

 

More information:

http://www.postgresql.org/docs/9.1/static/sql-altersequence.html

Аватар
Отменить
Автор

thanks

If this helped you, please mark the answer as correct.

Related Posts Ответы Просмотры Активность
0
февр. 23
4885
0
янв. 23
94
1
окт. 22
4228
0
апр. 22
2771
2
мар. 25
2812