İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
6832 Görünümler

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
Vazgeç
Üretici

No 1 Know It

Everyone know that

Üretici

Shut up u Juan

En İyi Yanıt

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
Vazgeç
Üretici

thanks

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

İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Şub 23
4929
0
Oca 23
94
1
Eki 22
4252
0
Nis 22
2801
2
Mar 25
2862