Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
6810 Weergaven

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

No 1 Know It

Everyone know that

Auteur

Shut up u Juan

Beste antwoord

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

thanks

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

Gerelateerde posts Antwoorden Weergaven Activiteit
0
feb. 23
4911
0
jan. 23
94
1
okt. 22
4246
0
apr. 22
2790
2
mrt. 25
2836