Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
6801 Lượt xem

Friends,

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

Settings > Technical > Sequence & Identifiers > Sequence

Now i cant edit & save it..

Thanks

Ảnh đại diện
Huỷ bỏ
Tác giả

No 1 Know It

Everyone know that

Tác giả

Shut up u Juan

Câu trả lời hay nhấ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

Ảnh đại diện
Huỷ bỏ
Tác giả

thanks

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 2 23
4900
0
thg 1 23
94
1
thg 10 22
4240
0
thg 4 22
2785
2
thg 3 25
2829