Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
6807 Vues

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
Ignorer
Auteur

No 1 Know It

Everyone know that

Auteur

Shut up u Juan

Meilleure réponse

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
Ignorer
Auteur

thanks

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

Publications associées Réponses Vues Activité
0
févr. 23
4906
0
janv. 23
94
1
oct. 22
4243
0
avr. 22
2786
2
mars 25
2832