Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
6798 Vizualizări

Friends,

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

Settings > Technical > Sequence & Identifiers > Sequence

Now i cant edit & save it..

Thanks

Imagine profil
Abandonează
Autor

No 1 Know It

Everyone know that

Autor

Shut up u Juan

Cel mai bun răspuns

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

Imagine profil
Abandonează
Autor

thanks

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

Related Posts Răspunsuri Vizualizări Activitate
0
feb. 23
4894
0
ian. 23
94
1
oct. 22
4233
0
apr. 22
2777
2
mar. 25
2824