Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
6790 Visualizações

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
Cancelar
Autor

No 1 Know It

Everyone know that

Autor

Shut up u Juan

Melhor resposta

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
Cancelar
Autor

thanks

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

Publicações relacionadas Respostas Visualizações Atividade
0
fev. 23
4885
0
jan. 23
94
1
out. 22
4228
0
abr. 22
2771
2
mar. 25
2812