Skip to Content
मेन्यू
This question has been flagged
1 Reply
6858 Views

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
Discard
Author

No 1 Know It

Everyone know that

Author

Shut up u Juan

Best Answer

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
Discard
Author

thanks

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

Related Posts Replies Views Activity
0
फ़र॰ 23
4990
0
जन॰ 23
94
1
अक्तू॰ 22
4296
0
अप्रैल 22
2838
2
मार्च 25
2904