Skip to Content
Menú
This question has been flagged
1 Respondre
6750 Vistes

Friends,

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

Settings > Technical > Sequence & Identifiers > Sequence

Now i cant edit & save it..

Thanks

Avatar
Descartar
Autor

No 1 Know It

Everyone know that

Autor

Shut up u Juan

Best Answer

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

Avatar
Descartar
Autor

thanks

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

Related Posts Respostes Vistes Activitat
0
de febr. 23
4742
0
de gen. 23
94
1
d’oct. 22
4104
0
d’abr. 22
2674
2
de març 25
2735